0
votes
0answers
7 views
Is there a difference in performance for insertion of different elements in the DOM?
My problem is the following:
I have a HTML document that uses a table to convey tabular information. Semantically all is well. But I'm afraid that it will grind my page to a halt, since this table ...
0
votes
0answers
17 views
AngularJS Filtering by an arbitrary number of filters
I have a search box that takes a series of terms, separated by spaces, that are split into an array using string.split(' '). Is there a way to apply an arbitrary and potentially large number of ...
1
vote
1answer
27 views
AngularJS: Is there a better way to sync two promises?
$http.get('/services/menu').success(function (dataMenu) {
$http.get('/services/language').success(function (dataLanguage) {
console.log('dataLanguage', dataLanguage);
...
1
vote
1answer
18 views
Angularjs - inline directives with ng-bind-html-unsafe
My aim is to extract from a piece of text all the hashtags and replacing them with a directive this means that it should go from this:
<p>Hello #stackoverflow this is a #test<p>
into
...
0
votes
2answers
31 views
Not sure how to create and anchor to a div when typing in input box
I created an AngularJS application that filters a list under the input box when you type more than one character in the input box. This input box is toward the middle of the page and I would like it ...
0
votes
1answer
35 views
jQuery getting tag's content dynamically
First of all, I know my question seems to be already asked many many times but I'm facing a weird issue.
Here's the situation :
I've got an integer (dynamically loaded) in this tag :
<i ...
0
votes
1answer
15 views
AngularJS not working when paired with RequireJS. Any ideas?
I am trying to build a very simply demo to get AngularJS working with RequireJS.
Up to this point I have been closely following this tutorial.
I have defined a main.js file, which requires both ...
3
votes
2answers
33 views
Angular.js and HTML5 date input value — how to get Firefox to show a readable date value in a date input?
I have an HTML5 date input and I would like its value to be set to the value of the date property in my model by default. I'm not too fussy about formatting since Chrome seems to decide that for me ...
0
votes
1answer
21 views
How to implement bold unbold functionality with AngularJS
I am trying to implement some client side text formatting functionality. Just like any other editor does. Basically when the user selects text and clicks on bold, it should bold the text and when ...
0
votes
0answers
21 views
Eager load HTML/erb templates in Rails for AngularJS
I'm following the thread on http://minhajuddin.com/2013/04/28/angularjs-templates-and-rails-with-eager-loading for eager loading HAML templates. Seems like it's a reasonable way of ensuring Angular ...
0
votes
0answers
27 views
Using the same controller from a modal and in stand alone with Angularjs
I want to use the same controller from a modal (dialog : http://angular-ui.github.io/bootstrap/ ) and in stand alone. But I do not know how to do that
'use strict';
App.controller ...
0
votes
0answers
15 views
How to use AngularJS in HTML injected with Chrome extensions?
Has anyone used AngularJS for Chrome extensions ?
What should be the strategy if I want to insert a div in a page from which I should be able to define my layout and structure.
I also don't want to ...
0
votes
2answers
43 views
Json not working with angular.js
I'm trying to get forecast information from an external domain, which doesn't seem to work yet. Both Angular and jQuery are loaded, but nothing shows up in HTML. Chrome doesn't report an error message ...
0
votes
0answers
31 views
Shared data between controllers not updating model angularjs
I have 2 controllers that share the same service in my application,
when I fire an event that's controlled by the portalController function --> setLang() I don't see the model of applicationController ...
-2
votes
0answers
31 views
'use strict' in AngularJS [duplicate]
In some controllers in AngularJS, we write 'use strict' directive at the beginning of the script.
But Why? I have read some articles and understood that we write it by ECMAScript.
What do it do else?
...