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.

learn more… | top users | synonyms (1)

1
vote
0answers
10 views

How prevent angular provider loads many times

I have a provider (I also tried with controller with same results). This is my code: .provider('socketio', function() { this.socket = io.connect("//localhost); console.log("LISTENING..."); ...
0
votes
0answers
2 views

How do you spy on AngularJS's $timeout with Jasmine?

I am trying to spy on $timeout so that I can verify that it has not been called. Jasmine, however, requires an object to be spied upon, like this: spyOn(someObject, '$timeout') However, I don't ...
0
votes
1answer
14 views

How to update a column with a single button in AngularJS?

I have an Unapproved button on my list page. As I'm a complete rookie with angular, I don't really see how to pull out the id of the given post and update the column in db that makes sure it becomes ...
0
votes
0answers
14 views

Improving branch coverage with Istanbul

The following code snippet has only 50% branch coverage (see below for coverage report) I'm not sure how to improve this since there are no if statements. I'm thinking Istanbul must do some sort of ...
-1
votes
1answer
21 views

how to pass a non jason value to a angular.js http.post method?

am trying to send two parameter in http post method in angular.js. i have done the following code controller var installerApp = angular.module('installerApp', []); ...
0
votes
0answers
7 views

page refresh working fine with http while giving 404 not found error with https for same url used in angularjs app

I created a website using angularjs. all the pages working fine with http and https except user page. I have created a user.html in a templates folder and route that page correctly but when I use that ...
-1
votes
0answers
17 views

Read multipart form data from Web API

I have this code in client side. I need to get the image in the web api and convert the same into byte array. uploadProfileImage: function (imageFile) { var promise = $http({ method: ...
0
votes
0answers
7 views

Using ng-grid with angularFire - key naming issues

I've played around with this a bit now, but can't get my head around it: So I have a firebase and I'm using angularFire to extract my data into an ng-grid component like this: //First I go get my ...
0
votes
1answer
13 views

How to validate multiple fields in angular.js with simple code

I am doing input validation on Angular but it's fine for one field validation but how to do the code if i have more input fields. Here is the my plunker: plnkr.co/edit/Z6RRhPvbZNdlG9S9YYTP?p=preview ...
0
votes
1answer
21 views

Using a directive's compile function with an isolate scope seems to access the wrong scope

I'm not sure if this is an angularjs bug or if I am doing something wrong, but when i create a directive using an isolate scope as well as a compile function to programmatically modify the template, ...
1
vote
2answers
22 views

Angular route config not working in 1.2.3

I have a code based on Angular js framework from google. The code define some routing and associate views to the url path. the code is like this var profileModule = angular.module('profileModule', ...
0
votes
1answer
15 views

Get key values and create a table header

I have an angularjs application that basically takes JSON and creates a HTML table, with the keys in the <thead> and the values as table rows. I have a JSFiddle here where I take the JSON and ...
0
votes
0answers
18 views

Add new row editable in ng-grid Angular

I want to add a new row to my ng-grid that is the only enable to be edited. I can add a new row pushing a new object into the datasource of the grid. I know that I can use cellEdit in the ...
1
vote
1answer
20 views

How do I animate a changing list in AngularJS?

I have a list of items that is fetched from the server every 5 seconds: $timeout(function fetchList() { $scope.images = Image.data(); $timeout(fetchList, 5000); }, 5000); and I ...
0
votes
0answers
12 views

How's Yeoman's AngularJS generator referencing Bootstrap SASS files?

I generated a new AngularJS app using Yeoman: yo angular And selected the SASS-based Bootstrap files to be included as well. Now index.html has a block of code that looks like this: <!-- ...

15 30 50 per page