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
1answer
10 views

Angular Directive ng-click Not Working

Plunker I have an external controller that contains a directive inside of its view. The directive gets a list of process points and generates links where you can select each one. It correctly sets ...
-2
votes
1answer
22 views

Dynamically loading a JS files in an angular Application

We are currently looking into AngularJS for a kids application for iPad using Phonegap. There are activities and small games build with CreateJS. We want to include these games or activities ...
0
votes
1answer
13 views

Prevent AngularJS Controller call if unauthenticated

I have a basic authentication check on route change which simply checks the existence of a SessionStorage key/val. However, I have noticed that if an unauthenticated user navigates to a forbidden ...
0
votes
2answers
15 views

Getting attribute of element in ng-click function in angularjs

I have a span tag like below which call a function in the controller when clicked. HTML <div class="row" ng-repeat="event in events"> <div class="col-lg-1 text-center"><span ...
0
votes
3answers
25 views

How to show a navigation menu with AngularJS which changes 'active' class depending on which route is being viewed?

I simply want to show a navigation menu like the following in my app: <ul> <li><a href="#/section1">Section 1</a></li> <li class="active"><a ...
0
votes
1answer
28 views

How do you iterate over an array of objects for typeahead?

http://angular-ui.github.io/bootstrap/ I want to use the bootstrap's typeahead, and search two different key-pairs in an object. How do I iterate over an array objects? Also could someone explain ...
0
votes
1answer
27 views

Can you access a global javascript variable in an Angular expression?

Is there a way to access a global JavaScript variable in a Angular expression? such as: ng-disabled="{someJavascriptVariableHere}"
0
votes
1answer
11 views

Angular with Breeze error Cannot call method of undefined

I'm testing sample CRUD using Angular and Breeze following sample ToDo project. But for some reason I get error Cannot call method 'getAll' of undefined. (my odata is hosted on another localhost ...
0
votes
1answer
23 views

Angular not dynamically updating deferred HTML

I'm trying to build a dynamic site using Angular. I'm trying to simulate delays in loading HTML by using setTimeout with $q.defer. It works if I don't have the timeout, but as soon as I add the ...
1
vote
2answers
32 views

Sorting with Angularjs OrderBy in special cases

I have some data which I'm attempting to sort in a table using Angular's orderBy filter. Here's the data I'm attempting to sort. [ { "name":"John Doe", "room":"1M-103", }, { ...
0
votes
1answer
11 views

AngularJS select: limiting ngOptions based on a current form state

I am using AngularJS to generate a form for submitting arguments to a function. In order for this to work properly, I want the possible options for the second select element to depend upon the current ...
2
votes
2answers
36 views

How to think about Controllers in angularjs

I'm scratching the surface with Angularjs, and thought I'd run a conceptual question past the fine folks of SO. This is a newbie question from a seasoned developer. The application has dashboard ...
0
votes
1answer
19 views

Using typeahead and ajax in a AngularJS app

I am having issues using Bootstrap-UI's typeahead control with dynamic data (data fetched from ajax call). The response in my service looks a bit like this [{id:1, text:'somebrand'},{id:2, ...
0
votes
1answer
26 views

Independent scopes for similar controllers in Angular

I'm working on an app the uses multiple (but similar) controllers (controllerA) on a page and another controller (controllerB) that could change some properties, but ONLY if the element of controllerA ...
0
votes
2answers
27 views

Bitwise Angular Expression not working

I have a basic ng-show expression as follows: ng-show="((message.status & messageStatus.Spam) != 0)" However, this fails with the following msg: "Token '&' is unexpected, expecting [)] at ...

1 2 3 4 5 646
15 30 50 per page