AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Whatever(MV*) capability and reduce the amount of JavaScript needed to make web applications functional. These types of apps are also frequently known as Single-Page Applications.

learn more… | top users | synonyms (2)

0
votes
0answers
6 views

Angular UI-router for filtered table with persistent URLs

Ok, so I have a pretty common use case. A large dataset (for now loaded in memory), which I'd like to filter to soemthing small enough to display. Each row in the table has a link that displays a ...
0
votes
2answers
7 views

$scope update across different modules on $http

How do I update one module's $scope member from another module's $http.success()? This is going to be a tough one to explain, so I'll do my best. I have two modules, HeaderApp and ContentApp. ...
0
votes
0answers
5 views

Getting URI utef-8 encoding of CSV from ng-csv

Hi I'm building an app using AngularJS in the front end and nodejs in the backend. On the angularJS side I have an ng-grid for which I have a lot of tabular data. I use the ng-csv plugin to download ...
0
votes
0answers
6 views

Best open-source grid with smooth, infinite scrolling

When I started working on my current project I was given quite an arduous task - to build something that in essence suppose to replace big spreadsheet people use internally in my company. That's why ...
0
votes
0answers
10 views

AngularJS, inconsistencies when assigning versus updating scope within the transcluded content of a directive's isolated scope

JSBin Example: http://jsbin.com/yuyetakonowu/1/edit?html,js,output Summary: I have two directive's (myParentDirective and myChildDirective). myParentDirective transcludes myChildDirective content. I ...
0
votes
0answers
3 views

Angular (AngularFire) typeerror undefined is not a function

I have the following simple data model in Firebase: Partners ----Name ----OrigBal This is the HTML: <!DOCTYPE html> <html ng-app="bastion"> <head> ...
0
votes
0answers
22 views

Resolve a controller?

I'd like to expose the functionality defined in a controller to child controllers. In essence this: .state('parent', { controller: 'ParentCtrl', }) .state('parent.child', { controller: ...
2
votes
1answer
25 views

How do I sendKeys to a ui-ace instance with Protractor?

I want to test some keypresses against a ui-ace instance. However, Protractor can't get focus on the ace element. Ace includes a <textarea> that I can get focus on (and thus send keys to) but ...
0
votes
0answers
9 views

Get AngularJS to talk to .NET Web API secured with Azure AD

I have two different web projects on Microsoft Azure. One project is a .NET MVC web application and the other project is a .NET Web API. Both projects are configured to use Azure AD. The MVC web ...
-1
votes
1answer
14 views

JS Global Variable in AngularJS returns undefined

I'm trying to access a value inside some Javascript to use in an AngularJS service. I have stored the value inside a variable successfully but I am having issues getting that variable into my ...
0
votes
1answer
12 views

Do you always have to use jade in Node js to display html pages

I have been making little web apps this summer and new to web in general and i have been using the node.js express framework. I use jade for templating, and it really has been an inconvenience using ...
1
vote
1answer
25 views

ng-repeat and ng-switch doesn't work on same element

JS $scope.mode = "test" $scope.array = ['test1', 'test2', 'test3'] HTML <div ng-switch on="mode"> <div ng-repeat="item in array" ng-switch-when="test"> Test {{item}} ...
0
votes
1answer
5 views

How to accomplish google oauth authentication using nancy api and angularjs?

I have been looking around for this issue and haven't found anything yet. I want to create a webapp that requests offline access to google api, and the my main concern is that I'm using angular as a ...
2
votes
1answer
30 views

ng-click Vs click event

I am working on a website based on angular js. Currently, I have written about 5000 line code in angular js. So I have to make some changes without touching my angular js. I want something like ...
0
votes
2answers
15 views

AngularJS replace complex select directive

I've implemented a select dropdown for filtering through a list of items. I'm looking to create a directive that will hide the select dropdown and replace it with a custom dropdown using the same ...
1
vote
0answers
9 views

ionic/angular leaflet directive - zoom in/out buttons do not work

I have some problems with default zoom in/out buttons on leaflet map. Everything works fine when I load page directly but when I change one state to state where leaflet directive is buttons just do ...
0
votes
0answers
15 views

how to make aplication jqm with angular? [on hold]

can you please tell me how to make application jquery mobile application with angular .I know there is adapter https://github.com/tigbro/jquery-mobile-angular-adapter It only used for Jquery mobile ...
0
votes
0answers
6 views

Nodemailer: ERR_CONNECTION_RESET with AngularJS and NodeJS with POST

Following is the post data I am trying to send to NodeJS from AngularJS using POST method: $scope.doStuff = function(foo, bar) { $http({method: 'post', url: '/send', data: {foo: foo, bar: bar}}). ...
0
votes
0answers
10 views

AngularJS: several tabs open, only one should run specific function

I’m not sure if this is possible at all, but what I’m trying to do is have an AngularJS app that stores some data in localStorage so that all tabs running the app can access the shared data. I’d also ...
0
votes
0answers
8 views

KendoUI Grid + AngularJS: Adding column template

I have a table and I wanted to add a column for a button that goes to a different page. Ideally, after column 0, it would be great that the following column 1 would have a button that calls a ...
0
votes
0answers
11 views

Setting priority in Angularfire 0.8

According to the Angularfire docs, when working with an object returned through $asObject(), you can set priority for said object by defining a $priority property on the object and then using $save(). ...
0
votes
0answers
9 views

ng-minlength in directive not populated when invalid

I'm creating an input directive that encapsulates a label, and some error messaging but I'm getting stuck with ng-minlength and ng-maxlength. The issue is that they don't populate the model value ...
0
votes
0answers
26 views

Is this an appropriate use of an AngularJS Service?

I have an app with many views that are varied and numerous enough to justify dynamically loading CSS files, based on which view is active at the time. I looked into various ways of dynamically ...
0
votes
0answers
26 views

Style option hover when using ngOptions

I'm currently working on styling an angular dropdown filled dynamically using ngOptions. The only issue left to tackle is styling the hover over an option in the dropdown. I've read quite a bit ...
0
votes
0answers
5 views

Expression inside AngularJS Timer start-time with Firebase

I am using the timer found here: http://siddii.github.io/angular-timer/ I am attempting to connect to my firebase and obtain a start_time. The timestamp is correct. I believe that it has to do with ...
0
votes
1answer
28 views

Same controller, different template, one new variable

I have a page where I display data (www.mypage.com/:gameId). To print this data I want to show a print friendly page (www.mypage.com/:gameId/print). Both of the pages are identical in data output but ...
1
vote
0answers
23 views

javascript async inside a loop assigning iteration variables [duplicate]

How does Javascript create the callback functions for asynchronous loops? Does it recreate the function every time or just create it once and use the same function definition on every iteration it ...
1
vote
2answers
29 views

How assign variable scope with callback in AngularJS?

I have a big problem in my angular js application. I have a factory module which has a getAll() function, this get the json data from the server. And I have the controller module where I try to assign ...
3
votes
0answers
51 views

Downside of not using HTML5 mode

With AngularJS 1.3, the <base> tag is required when in HTML5 mode however this is a pretty big issue when it comes to SVG (which I use heavily for icons). The issue is that clip paths, masks, ...
1
vote
3answers
27 views

How do I grab the elements in a form in Angular and have them appended in a list?

I'm new to Angular and want to create a basic list where I enter in an item name and price and click "Add item" and have it appended to a list. I have everything set up, but I'm not sure why the name ...
0
votes
0answers
22 views

How can I dynamically resize SVG container for responsive layout?

I'm trying to do dynamic resizing of a SVG element to fill the parent container div, which scales with the page using CSS width 100%. Normally I would use JQuery $("el").width() and that works fine. ...
0
votes
1answer
31 views

Why is my model only updating if it is attached to an object? Angular

I am trying to update a model with some radio buttons. I have 2 different set of radio buttons and I can access only one of the updated models from the controller. Here is my html: <ul> ...
0
votes
1answer
22 views

Restangular: Waiting for resolve of promise?

I'm new to Javascript and AngularJS and this one makes me scratch my head :/ Precondition A REST Service providing my data from the backend AngularJS 1.2.21 and Restangular 1.4.0 An AngularJS ...
0
votes
1answer
18 views

how to redirect a page to external url in angularjs?

I'm using $location.path('www.google.com'); to open an external link , but the URL is not overridden so it is taking me to the URL defined as otherwise in app.js I also used $window.open but it ...
0
votes
0answers
6 views

jQuery Sortable Elements Sluggish When They Use ng-class

I've been trying to isolate this problem for an incredibly long time and only recently managed to isolate it down to this jsfiddle: http://jsfiddle.net/jdchizzle/tLrh78d9/ <div class="cars"> ...
0
votes
0answers
17 views

Focus cursor AFTER placeholder text, angular

I've used one of the many angular directive based solutions for this, it would be a hassle to type out all of it. In fact, the updated answer given by Shimon on this question is exactly what I have ...
0
votes
1answer
7 views

angular-route-segment: Find current location of routeSegmentProvider

I am trying to find current location of routeSegmentProvider while I am building my routes because one of them is not getting setup properly. Is there any way I can get my current location in the ...
-1
votes
0answers
28 views

Variable $scope object in AngularJS

When I use the following code, it works as expected: $scope.firebase.car1.seats = index+1; However, when I need for the car to be a variable, I'm not sure how to do this. I am correctly passing ...
0
votes
1answer
33 views

Popover in ng-grid

I am trying to use Popover in my project and I am referring this post : var templatePopover = '<div popover={{row.entity.name}} popover-trigger="mouseenter" popover-placement="top" ...
0
votes
0answers
14 views

Displaying google maps in angular.js

I might be making a really silly mistake here, but I'm not sure where I'm going wrong. Just trying to get a simple map to display on page with google maps and angular.js. Here is my controller.. var ...
1
vote
0answers
10 views

Issue in facebook login API

I am using facebook login (JDK) in my for login. I have entered the whole info correct like website URL, etc. But when I click the login btn the login popup and close automatically and in console log ...
0
votes
0answers
23 views

Angular bind not displaying

Bit of a crazy one, certainly a very very frustrating one! I have a pretty basic ng-repeat going on and it's working in 95% of the cases. However a few of the binds just aren't displaying. Basic use: ...
0
votes
1answer
30 views

Unexpected token , in Angular code after $http request

I am submitting an $http request to my server using this code below, yet all the of sudden Angular is complaining about an "Unexpected token , " somewhere. function sendAggrRequestToServer(url) { ...
1
vote
1answer
24 views

$rootscope between controllers and refreshing it

I am using a jsonn object to load in data between objects. currently using a factory to return the object and bind it between the controllers. Right now I am making a copy like so : var LevelsHere = ...
1
vote
2answers
27 views

How do I use getterSetter in an angular directive with an isolated scope?

I'm having trouble getting a getterSetter to work in a ng-model directive. Please, look at this plunker: http://plnkr.co/edit/Tx0nyvvbuKqf1ZpsRTPu?p=preview If you use the uncommented template, the ...
0
votes
1answer
15 views

Angular.js ui Router. element only visible with a given child

I've a view an abstract view state like project.detail and child states like project.detail.settings project.detail.Summary Now in the abstract project.detail view i have a button should be only ...
0
votes
0answers
6 views

Why does jasmine breaks ng-disabled in plunker?

I have a plunker (http://plnkr.co/edit/w11p5z?p=info) <!DOCTYPE html> <html ng-app="myApp"> <head> <meta charset="utf-8" /> <title>Angular Boot Camp - ...
0
votes
0answers
20 views

Angular httpProvider not found

I keep getting an error when I try to use httpProvider with Angular 1.2.23. Uncaught Error: [$injector:unpr] ...
0
votes
1answer
12 views

Grails, AngularJS and why referer header is blank

Project is using Grails 2.3.9 and AngularJS 1.2.9, we've enabled a referer filter which ensures that the referer matches the host, if they dont match the user is redirected to login page. The problem ...
1
vote
3answers
31 views

How to test promise logic with a resolve in it?

I have a service method that has some caching logic: model.fetchMonkeyHamById = function(id) { var that = this; var deferred = $q.defer(); if( that.data.monkeyHam ) { ...