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)

4
votes
0answers
1k views

Error in scripting using angualrjs, requirejs and karma

I'm getting a script error every time I try to load the angularjs to a test file. When I try to put the angularjs in the requirejs define block, I get an error. karma conf: module.exports = ...
4
votes
0answers
2k views

Angular JS + Node JS + Passport + Spring OAuth2 Authentication/Authorization

I have doubt how to proceed with this autorization. I am new with passport and AngularJS, but i would like to use them, they are very powerfull. I have Spring REST API Secured by Oauth2, but I have ...
3
votes
0answers
46 views

When using AngularFire, the cursor jumps to end of field while typing

I setup a tiny sample app that edits one field. But when I type in that field the contents keep reverting back to a second ago. I'm looking for a fix to AngularFire that makes it just work, or a RTFM ...
3
votes
0answers
32 views

Animation with display flex

When I open the item-accordion I have used the animation .But the item-accordion has the image that is wrap in the multiple row using display flex property of the CSS3. Whenever I open the accordion ...
3
votes
0answers
146 views

Authentication and Routing with Express/Passport, AngularJS and ensureLoggedIn not working on “/” url

I have a MEAN stack app generated with the Yeoman Generator Angular Fullstack generator. You should only have access to the site by logging in. The repo for ensureLoggedIn is here While logged out, ...
3
votes
0answers
251 views

Ionic framework and angular ui calendar issue?

I am using ui calendar to provide a calendar view in my application. Question: The calendar loads fine and the calendar also accepts events just that I can not seem to access the calendar object ...
3
votes
0answers
686 views

Ionic navigation tab in header

Hey i've got a question about ionic navigation, The main navigation of my application is in the footer, but i want to add an information tab to the header, I also want this tab to have it's own view ...
3
votes
0answers
424 views

How to implement Swipe Gesture in IonicFramework?

I want to attach swipe left & swipe right on an image using IonicFramework. From the documentation, I only got these, but no example yet: ...
3
votes
0answers
91 views

UI-Router modal changes existing views

I'm trying to use ui-router to trigger a modal for a certain state, rather than changing the entire view. To do this, I implemented a slightly adapted form of what is given in the FAQ, as I'm using ...
3
votes
0answers
180 views

Oauth2 Implicit Flow with single-page-app refreshing access tokens

I am using Thinktecture AuthorizationServer (AS) and it is working great. With Implicit and Client flows, there is no token listed under AuthorizationServer (AS), I presume tokens here mean 'refresh ...
3
votes
0answers
344 views

Memory leak with angularJS and jQuery / angular bootstrap

I have a ng-repeat list that updates every minute. Its a list of cards that contains stuff like title, description, dates and so on. In those cards there's also a angular-ui-bootstrap popover which i ...
3
votes
0answers
959 views

WindowsPhone 8 (phonegap) and AngularJs - $routeProvider not working?

My mind is gone. I don't know what is the problem for my code. hmm, I will explain for that. File details : Cordova 2.9.1 version angularjs 1.2.13 version ( also used all version with the ...
3
votes
0answers
578 views

angular-ui-router with requirejs, lazy loading of controller

Could you help me to understand how to load controller in the example below before the view? It looks like the view is loaded just immediately while the controller is not loaded yet. //app.js ...
3
votes
0answers
327 views

How to mock ng-grid when unit testing a controller

I'm currently trying to write tests for existing blocks of code and running into an issue with a controller that has a nested ng-grid inside of it. The issue comes from the controller trying to ...
3
votes
0answers
118 views

Angular UI-Router Can ui-view replace the original tag?

I want to be able to replace the original element tag with the template. This should basically operate the same as transclusion when using the "replace=true" property.
3
votes
0answers
985 views

ng-change event not firing for text input in bootstrap modal

I am kind of stuck here. I have an application which uses bootstrap modal with couple of text boxes which has values from server. When i open the modal for the first time and remove the items from ...
3
votes
0answers
225 views

Case insensitivity with angularjs ui-router

I'm building a new angularJS app, based from the AngularJS SPA Visual studio template (http://visualstudiogallery.msdn.microsoft.com/5af151b2-9ed2-4809-bfe8-27566bfe7d83) this uses ui-router ...
3
votes
0answers
110 views

How to wire SailsJS to BreezeJS

I'm looking at using Sailsjs for server side processing and validation and angular on the client side. Apparently BreezeJS supports Odata and WebApi for its interaction with the datasource. I know ...
3
votes
0answers
106 views

How to use Masonry with AngularJS template?

Hello I Want to use masonry in AngularJS. I want to adjust div from left to right in container. According to their documentation we can use it simply using <div class="js-masonry" ...
3
votes
0answers
130 views

Passing parameters to JS Animation in Angular

I wrote this this Plunker containing a simple JS Animation, done via jQuery.css / jQuery.animate. Short Description: 3 Rectangles are shown Button "Randomize" randomizes width/height of the ...
3
votes
0answers
245 views

AngularJS Calendar event-clicks not firing with ftLab fast click

I am working with AngularJS calendar (Which is essentially jQuery Full Calendar by Adam Shaw wrapped for angular). Here, the calendar event-item clicks worked both in ipad and desktop fine, until I ...
3
votes
0answers
221 views

Make only some cells editable in ngGrid?

I have an ngGrid that shows a few records with basically key / value content. Now, I would like to make some of these records editable. Using the enableCellEditing features of ngGrid, I can enable or ...
3
votes
0answers
501 views

Implementing a reverse infinite scroll using ngInfiniteScroll directive in AngularJS

I would like to use the ngInfiniteScroll directive from here: http://binarymuse.github.io/ngInfiniteScroll/ in my angular js app to implement a reverse infinite scroll (like in a chat widget). However ...
3
votes
0answers
1k views

AngularJS ui-router state doesn't refresh on back

I have an app setup with 2 states, A and A.B done this way: $stateProvider.state('A', { url: "/A/{aId}", controller: 'AController', templateUrl: function($stateParams) { ...
3
votes
0answers
135 views

Custom interceptor angularjs application using Parse service

I am trying to implement an interceptor for my server responses (PARSE) with angularjs, I have seen this project that uses the $httpProvider to register the interceptor. since my service is not using ...
2
votes
0answers
11 views

AngularStrap 2.x throw 404 Not Found when used with requirejs

I'm trying to use angular-strap with requirejs in a project and I did the following in requirejs.config.js file: require.config({ baseUrl: 'app', paths: { .......... angular: ...
2
votes
0answers
42 views

angular binding failing on Chrome but not Firefox or IE

Angular JS is binding perfectly well in IE11 and in FireFox, no errors. But in Chrome, still no errors, the binding fails in the UI controls, but in the plane text dump, it renders fine. Chrome ...
2
votes
0answers
40 views

How can I access a directive's ngModelController from another directive?

How can I access a directive's ngModelController from another directive? The scenario I'm creating a type ahead widget, which is composed of a typeAhead directive and autoCompletePopUp directive. ...
2
votes
0answers
44 views

Why isn't angular-ui-router updating my nested states? I have to refresh

I have a state on initial signup localhost:3000/#!/ that will show a splash page for new users to sign up. Then after you register and then login, I keep that same url, and have a nested partial view ...
2
votes
0answers
24 views

Does ng-grid has right click context menu?

Does ng-grid provide right click context menu? I couldn't find it on http://angular-ui.github.io/ng-grid/ However I do remember there was a comprehensive demo page available few weeks back (July ...
2
votes
0answers
27 views

Render Jade like an Angular partial

I study the MEAN conceptions by this video course by Joe Eames. This course interesting because teach how to use JADE templates as partials instead of HTML. \bin \node_modules \public \app ...
2
votes
0answers
28 views

Token API and Backend Google OAuth in Node and Angular

We are transitioning from an API using cookies for state (ExpressJS sessions) to a stateless (token) API. We use a single PassportJS authentication strategy (GoogleStrategy). When the OAuth flow ...
2
votes
0answers
49 views

AngularJS - Getting the next sibling scope in ng-repeat

Given this very simplistic markup: <div ng-repeat="item in items" item> And the directive: app.directive('item', function() { return function(scope, element, attrs) { } }) ...
2
votes
0answers
34 views

Multiple select ng-options group by not indenting until collection is modified

I have a dual pane multiple selection to shuffle objects between them, filtering from one pane to another. Everything is working just fine except for one small problem. When I load in the left ...
2
votes
0answers
51 views

Text input box not accepting input in modal from Angular UI Bootstrap

I have a modal (nbr 1) that I open from another modal (nbr 2). The modal nbr 1 works fine and is showing the things it should. But I tried to put an input to filter items in the modal, but the input ...
2
votes
0answers
47 views

What is the purpose of angular's isLeafNode?

Angular 1.3.0 defines the following function (here on github): function isLeafNode (node) { if (node) { switch (nodeName_(node)) { case "option": case "pre": case "title": ...
2
votes
0answers
38 views

Instagram OAuth login

I would like to build an app for Instagram login. The problem is that i don't know how to initialize connection with instagram client id. I had done this with OAuth.initialize(), but it doesn't work. ...
2
votes
0answers
16 views

Serving LESS, Javascript, and static resources from the same location in Java Play

Motivation I am currently working on an Java Play app that uses Angular.js. At present, I am trying to reorganize my public folder based on feature. For example, all the Javascript, template files, ...
2
votes
0answers
93 views

How to export json file(data) which has more than 20000 Arrays to excel using angular js?

when i run this code in firefox it works perfectly. but when i run this code in chrome.. it crashes... How to fix this problem.. I have used ng-csv directive from github when i run in firefox it ...
2
votes
0answers
37 views

How to know if $interpolate fails in AngularJS 1.2?

I'm trying to use the $interpolate service in AngularJS 1.2.16. However, I don't know how to check if Angular has properly interpolated all the vars in my string or not. I noticed in AngularJS 1.3 ...
2
votes
0answers
39 views

Callback is not fired on query() while using Angular $resource

New to Angular - Using $resource to query all records from a MongoDB model using mongoose. Does not execute callback. Explain how to set this up. Here's the controller code. ...
2
votes
0answers
52 views

AngularJS directive with ui-mask

I am creating a directive to validate the age of a user and I am using it in combination with ui-mask. The html for my input is as such: <input id="dateOfBirth" name="dateOfBirth" type="text" ...
2
votes
0answers
63 views

Remove Restangular specific data from an object before PUT

I am using ngTagsInput on an Angular webapp that uses Restangular to talk to my Django-Tastypie backend instead of $resource. For auto-complete, I'm loading a list as ...
2
votes
0answers
80 views

AngularJS - Folder structure, login design, routes and grunt tasks

I am currently working on a new project and I would like to give it a good start to not mess up with the future iterations. Description The application will have 2 sides: - the client side. - the ...
2
votes
0answers
104 views

Angular UI Bootstrap date-picker Combined With UI.Mask

I am using the angular UI bootstrap popup date-picker to build a directive that will easily allow me to add the date-picker where need. When I combine this with the uiMask Directive, the values in ...
2
votes
0answers
33 views

Authenticating angular to get and post on MVC4 site using Windows Authentication

I am currently developing a website using AngularJS, the application is ment to post and get data to and from an already running MVC4 application. This MVC4 application is using Windows ...
2
votes
0answers
45 views

How can I get more stacktrace in AngularJS

I'm using the decorator to change the $exceptionHandler behavior, sending logs to the server. My problem with this is that the stackatrace of the exceptions seems useless, showing only part of the ...
2
votes
0answers
69 views

AngularJS $rootScope in factory - reload data

I have a factory calling a $resource. Upon refreshing the application entirely, this works as planned. But it not call the resource again throughout navigating the application. Ideally i would like ...
2
votes
0answers
57 views

Serve single file Angular app from S3 with nginx

I have an Angular app that consists of a single index.html file. The only others files are main.css and some image assets. I've already rediscovered there is no way to use S3 web hosting to serve it ...
2
votes
0answers
63 views

Form Data is correct when POSTing in Angular, but req.body is empty in node?

I am trying to do a simple POST call to a RESTful API that I created. I am using Angular for the client-side, nodejs for the server, and mongodb+express+multer for the database. When testing the ...