Tagged Questions
AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Controller (MVC) capability, reduce the amount of JavaScript needed to make web applications functional. These type of apps are also known as Single-Page Applications.
0
votes
0answers
9 views
Angularjs: addition of integers even after I parse the variable as integer
I really have a weird problem in adding two numbers.
Here is my code, in the first controller everything is working fine,
but in the second controller instead of 0 if I add 10, the output is ...
0
votes
0answers
4 views
AngularJS and control interaction
I create ASP.Net Web Form application. I have page, which uses AngularJS and DevExpress control on it. This control has JS API.
I want to call control API method when value of field in AngularJS ...
0
votes
0answers
9 views
Using promises with directives in angularjs
This is related to my previous question :
Angular typeahead : watch for dataset change
I am using Siyfion's typeahead directive for my project since its a few lines of code simple to understand (for ...
0
votes
1answer
13 views
ng-repeat directive sort the data when using (key, value)
I have a code something like this with ng-repeat = "(key,value) in data".
In Controller:
$scope.Dates = {"Today":"30",
"This Week":"42",
"This Month": "Oct",
...
0
votes
1answer
9 views
How to parse an Angular POST request in WebApp2?
How do I get data from my Angular POST request in Google App Engine WebApp2? self.request.body returns a string, and self.request.get(key) returns nothing.
The Angular code that submits the POST is:
...
0
votes
0answers
5 views
Karma angular unittest runner fails for no apparent reason
Karma angular unittest runner fails for no apparent reason, doesn't run any test and just shows (in the cli):
Chrome 30.0.1599 (Linux) ERROR Uncaught SyntaxError: Unexpected token
< ...
0
votes
0answers
4 views
Directive (nested inside a partial) throws “Termplate must have exactly one root element”
I'm trying to follow angular best practice recommendation and use directives to
encapsulate reusuable HTML elements.
The error message:
Error: Template must have exactly one root element. was: ...
0
votes
0answers
5 views
How to fill select using angularjs in asp.net MVC
I am learning AngularJs with ASP.NET MVC4.
In this i have one scenario to bind dynamic dropdownlist.
I am geting the required value in ProjectList variable in J SON Format as
[Object { ...
0
votes
0answers
6 views
Update angular scope when adding editorTemplate in .Net MVC
I am working with a project in .Net MVC and we are using EditorTemplates to dynamically add fields to our form. In one of these fields I want a function to trigger when the value is changed. I tried ...
0
votes
1answer
7 views
Receiving 'data' of `$http.post('/someUrl', data).success` at server
$http.post in Angularjs:-
$http({method: 'Post', url: '/signUp'} , {greeting: 'hi'}).
success(function(data, status, headers, config) {
alert(data);
});
Node- Express.js Server
...
0
votes
0answers
33 views
IS there any IDE for AngularJS [duplicate]
I am learning AngularJS, I have a too much experience in jQuery.
Does anyone have a idea about AngularJS IDE ? Because I see there are lots of predefined variables and defined function body.
If any ...
0
votes
0answers
10 views
Combining mail_to and angularjs ng-repeat data binding
I have a directive which is being passed in a URL from the parent to be included in a mail_to line.
=mail_to "[email protected]", mail_link_content, body: "{{ url }}"
How can I ensure this ...
0
votes
0answers
13 views
Angular - Can't access controller methods after compiling directive
I am heavily modifying a WYSIWYG js plugin, and am inserting my own custom elements into it.
To insert the custom elements, I am using directives so that they can be easily maintained if I need to ...
0
votes
0answers
7 views
angularjs facebook 500 ok error
i am using angularjs directive for facebook sharing.
angularjs directive controller, i am loading facebook javascript sdk.
angularjs directive link function, i am showing login and after login, i am ...
0
votes
0answers
10 views
Trying to make a AngularJS animation work
I have an example of an animation of 2 forms, where the first is hidden and the other is shown when a button is clicked (and reversed when cancel is clicked). See ...