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)

0
votes
0answers
3 views

cannot figure out how to use ui-route

I cannot figure out how to correctly use ui-route, the samples on the angular-ui web site do not help. Here is my code. I want to implement a simple navigation menu. When the route matches that of ...
0
votes
1answer
13 views

How do you add a callback to an angular resource?

I have a view showing a list of items: <li ng-repeat="item in items">{{item.name}}</li> The service associated with this is: angular.module('itemService', ['ngResource']). ...
0
votes
0answers
14 views

Angular doesn’t support input type=”range” in IE10

When the value of an HTML5 <input type=”range”> element is changed in Chrome or Safari, angular detects the change. But in IE10 (on Windows 8, Windows Server 2012 and Windows Phone 8) the change ...
1
vote
1answer
17 views

AngularJS ng-switch-when expression

I'm trying to put together a sort of tabbed menu using ng-switch. I set the tabs in my Ctrl (streams) and keep track of the currently selected one as selection: app.controller("StreamCtrl", ...
0
votes
1answer
15 views

Angular JS: Passing a function into a directive template not working

I'm new to Angular JS. I am writing a directive that takes in a function name (because this will change occasionally) and then I set it as the ng-click function in the template to call the function ...
0
votes
1answer
10 views

if a ngSrc path resolves to a 404, is there a way to fallback to a default?

The application I'm building requires my user to set 4 pieces of information before this image even has a chance of loading. This image is the center-piece of the application, so the broken image ...
1
vote
1answer
10 views

Angular JS: JSON data is not getting displayed in ng-Grid

I have created MVC 4.0 app using Web API which returns data in JSON format (I am serializing object to json using NewtonSoft.Json) and trying to bind data in ng-Grid. I am receiving data in following ...
0
votes
1answer
12 views

Accessing Element From ngRepeat

How can I access a given record inside an ngRepeat loop from the controller, ultimately for form validate? I have the following form which can have records dynamically added/removed by the user: ...
0
votes
1answer
19 views

Error while testing route Karma in e2e tests

I'm trying to make some basic end to end tests (e2e) on a django/angularjs application using Karma and I'm getting a weird error. Here is my test code: # testacular-e2e.conf.js describe('Log in ...
0
votes
0answers
9 views

angularjs & highcharts - setting up properties in directive

I currently have this as my directive: app.directive('highchart', function () { return { restrict: 'E', template: '<div></div>', replace: true, link: function(scope, ...
1
vote
1answer
23 views

Binding Angular.js actions to Ruby on Rails actions

I've been using rails a while and am starting to fiddle around with integrating Angular.js. To get myself going, I'm making a simple (you guessed it) todo app. In my rails controller, I've made a ...
0
votes
1answer
20 views

Angular.js Controller can't set properties

I'm using a clone of https://github.com/angular/angular-seed to make a simple Angular.js app. I'm trying to put in some properties to the controllers in order to bind them in my HTML but keep getting ...
0
votes
2answers
30 views

AngularJS - Attribute directive input value change

I've got an AngularJS attribute directive, and I would like to take an action any time its parent input's value changes. Right now I'm doing it with jQuery: angular.module("myDirective", []) ...
0
votes
1answer
13 views

AngularJS: accessing scope in $resource factory definition

I'm running an AngularJS app that incorporates Pusher for real-time updates of models. I'd like to trigger an action in a scope when pusher sends updated data for an AngularJS resource in the factory ...
1
vote
1answer
25 views

Promise API - combining results of 2 asynchronous call

With promise API, how to send two asynchronous request in parallel, and resolve the combined result as the response. var get = function(id){ var res1, res2; var deferred = ...

1 2 3 4 5 339
15 30 50 per page