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
4 views
Angularjs: How to call $http requests for a list of array values one by one
I have an array of some 1000 records for each element I need to make an http request. If I ue async calls the load on the browser will be high and it is getting hanging and more over I dont want to ...
-1
votes
0answers
22 views
what is wrong with Angular js
In js I wrote
$scope.check = function () {
$scope.searchName = "";
$.post("http://172.22.71.107:8888/check/", {},
function (arg_result) {
if (arg_result.Ret == 0) {
...
1
vote
1answer
14 views
AngularJS: how to change scope in one controller with trigger in the other controller
I have two Controllers and one shared Service.
First Controller renders some text. Other Controller has a button that had to change the First Controllers scope and rerender text (with new value)
HTML
...
0
votes
0answers
11 views
angularJS Uncaught ReferenceError: angular is not defined form validation
I am a begginer with angularjs and sat down to study, but im lost a bit.
I am trying to create a custom form validation with angularui form validation, using headjs to load my scripts, but i always ...
0
votes
0answers
18 views
Why angular load inline template but trigger the $http?
This is a little complicated. I will try my best to explain my question.
First, I create a HttpService to wrap $http so that every ajax will trigger the #loading element to show that a request is ...
0
votes
1answer
12 views
How to use mock $httpBackend to test error branch
I am following the AngularJS documentation from here
The problem is that the documentation describes only the "success/happy" branch of the code, and there is no example of how to test the "failure" ...
0
votes
0answers
11 views
Form Validation: AngularJS vs Jquery Validate
I am using angular js for building a form.
Whats the best way to validate my form in a similar way to JQuery validate including custom rules?
Thank you!
0
votes
0answers
18 views
Stop $timeout when starting new controller
I'm polling for my data every 2 seconds to keep them updated on the page. My problem is when I visit an other page the timeout stays active. How can i cancel my timeout when I visit an other page?
...
0
votes
1answer
21 views
Promise on AngularJS resource save action
I am currently working on a REST + AngularJS application.
I have a little problem concerning promises on resource save action.
My Factory:
App.factory('Course', function($resource) {
var course = ...
0
votes
0answers
16 views
Angular.js: How can I return a content without view? Returning atom feed to users
I have plan to generate atom feed inside my angular.js controller. Not on the server-side, because I want to replace rest uri to angular-js route uri.
Now I know how to write xml with javascript. ...
-4
votes
1answer
22 views
External js library within Angularjs
Is it possible to use any external js library within Angular js. If So, how to use it ? Suggest me with an example.
0
votes
0answers
35 views
ng-include isn't working on ASP.NET app
I'm developing an ASP.NET application and i'm trying to use angular.js in my app.
For some reason, when using ng-include, I cannot see the html i'm trying to embed.
Here is my code:
Default.aspx:
...
0
votes
1answer
32 views
10 $digest() iterations reached. Aborting! - isolated scope
I'm getting this error only when I have {{i}} set in hour or day attribute, someone could explain this behavior,please.
<td cell ng-repeat="j in [0,1,2,3,4,5,6,7]" hour="i" day="j"></td>
...
0
votes
0answers
29 views
ng repeat dosn't update itself after inserting new item using dialog
I am just a beginner with angularJs , and i am trying to do CRUD Operations using $http and asp.net MVC :-
I am using ng-repeat to display list of "Terms" .
I have a
button to display a dialog ...
0
votes
0answers
18 views
using ng-views in PhoneGap getting Origin is not allowed by Access-Control-Allow-Origin
I am trying to get ng-views to work in android phoneapp app. I get the following
error when I trying to navigate to one of the views via hyperlink.
"Origin is not allowed by ...