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
12 views

AngularJS: attrs.$observe not firing after the first time

jsFiddle here In the fiddle, if you click on the submit button for the first time, notice that the <input> correctly gets focused on. On subsequent clicks, the focus isn't set any longer. I ...
1
vote
1answer
10 views

How can I pass params with AngularJS $resource.query?

At the moment, the url localhost/view/titles will use the route, controller and service below, and the server will return a list of all title objects. How do I extend the service to allow for ...
0
votes
0answers
13 views

AngularJS $resource not sending X-Requested-With

I'm using angular 1.1.5 and I'm using a $resource to make a XHR to a REST service but it seems like the the $resource isn't appending the header as X-Requested-With as XMLHttpRequest, is that a normal ...
0
votes
2answers
16 views

How to ajax load a URL in AngularJS Bootstrap modal

I'm new at Angular and am looking for some direction on how to proceed with loading a URL in an Angular Bootstrap modal. Would I be able to use the existing modal and go from there or am I looking at ...
0
votes
0answers
32 views

How to prevent form validation error when DOM is changed?

I have a form within a Twitter Bootstrap dialog (AngluarJS Directive) but, am having trouble keeping a reference to the form when the modal closes. We are using the technique shown here to simplify ...
0
votes
0answers
22 views

Creating/Finding a pure AngularJS lightbox

I am looking for a pure AngularJS lightbox clone. What are the recommendations? Googling doesn't bring up anything for me. I'd rather not create one from scratch. Also open to those that are not ...
0
votes
0answers
12 views

Travis CI runs only one test

I am setting up my ng-scroll directive with Travis ci. I have a set of tests with 47 tests in it. When I run it locally by using karma start they all run successfully, but travis reports success ...
1
vote
1answer
24 views

Why doesn't AngularJS update the views for model containers?

In the following Angular application, why don't {{myForm}} and {{myForm.userTypeInput}} update when the userTypeInput model is changed. <!doctype html> <html ng-app> <head> ...
0
votes
2answers
43 views

What is module in Angularjs?

I am a Java developer and I am trying to create a frontend that use my web service. Following the tutorial on their site I must admit that I struggle with the concept of a module. Could someone ...
0
votes
0answers
14 views

expressjs, json, and angularjs

I have an expressjs file that is using request to query the rotten tomatoes api. the response is being sent to the browser as json via res.json(). This part of the equation is functioning perfectly. ...
0
votes
1answer
14 views

Enable/disable button based on radio button selection in AngularJS

I have items in a radio button list (using ng-repeat) with a button (initially disabled with ng-disabled) to continue. When a radio button is selected, I want to enable the "Continue" button. What's ...
0
votes
2answers
28 views

How to use natural sorting in ng-options?

I have an object like this: Object {0: 0, 1: 2, 2: 4, 3: 6, 4: 8, 5: 11, 6: 13, 7: 15, 8: 17, 9: 19, 10: 22, 11: 24, 12: 26, 13: 28, 14: 30, 15: 33, 16: 35, 17: 37, 18: 39, 19: 41, 20: 44, 21: 46, ...
0
votes
0answers
7 views

Form validation with AngularJS in Rails

I have some troubles in my understanding how to integrate server-side validation on my page with AngularJS. So in my mind I should do the next steps: Change default ERB template to have error ...
1
vote
2answers
28 views

Angularjs ng-click-active class for anchor tags

I have some styling I would like to apply when a link is clicked in my app. If I was to use ng-click, then it would add a ng-click-active class to the element which is great, but is there a way to ...
0
votes
0answers
8 views

AngularFire removes Firebase locations

I'm trying to create a collaborative story-making app, using Angular and Firebase. Follow this link to get an idea of where I'm headed so far. You click on the "plus" icon to show a textarea, and ...

1 2 3 4 5 673
15 30 50 per page