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)

598
votes
3answers
57k views

How do I “think in AngularJS” if I have a jQuery background?

Suppose I'm familiar with developing client-side applications in jQuery, but now I'd like to start using AngularJS. Can you describe the paradigm shift that is necessary? Here are a few questions ...
276
votes
3answers
55k views

Databinding in angularjs

Could someone explain to me how databinding works in the angularjs framework? I haven't found technical details on their site. It's more or less clear how it works when data is propagated from view to ...
196
votes
5answers
59k views

Angular.js vs Backbone.js [closed]

Which MV* framework do you recommend? Angular or Backbone?
117
votes
12answers
52k views

What is the best way to conditionally apply a class with angularjs?

Lets say you have an array that is rendered in a ul with an li for each element and a property on the controller called selectedIndex. What would be the best way to add a class to the li with the ...
81
votes
2answers
13k views

AngularJS - Complex nesting of partials and templates

My question involves how to go about dealing with complex nesting of templates (also called partials) in an AngularJS application. The best way to describe my situation is with an image I created: ...
77
votes
10answers
17k views

AngularJS with Django - Conflicting template tags

I want to use AngularJS with Django however they both use {{ }} as their template tags. Is there an easy way to change one of the two to use some other custom templating tag?
70
votes
1answer
8k views

What are the nuances of scope prototypal / prototypical inheritance in AngularJS?

The API Reference Scope page says: A scope can inherit from a parent scope. The Developer Guide Scope page says: A scope (prototypically) inherits properties from its parent scope. So, ...
70
votes
3answers
38k views

what are benefits of using backbone.js vs ember.js vs angular.js [closed]

I am newbie to javascript framework and looking forward to learn these frameworks. But doesnt know which one i should learn first. I know jquery. I am trying to figure out which framework is good ...
64
votes
2answers
12k views

Recommended way of getting data from the server

What is the recommended way to connect to server data sources in AngularJS without using $resource. The $resource has many limitations such as: not using proper futures, not being flexible enough.
61
votes
9answers
21k views

Delaying AngularJS route change until model loaded to prevent flicker

I am wondering if there is a way (similar to Gmail) for Angular to delay showing a new route until after each model and it's data has been fetched using its respective services. For example, if there ...
59
votes
2answers
12k views

Typical Angular.js workflow and project structure (with Python Flask)

I am pretty new to this whole MV* client-side framework frenzy. It doesn't have to be Angular.js, but I picked it because it feels more natural to me than either Knockout, Ember or Backbone. Anyway ...
58
votes
7answers
18k views

Does it make sense to use Require.js with Angular.js?

I'm a newbie to Angular.js and trying to understand how it's different from Backbone.js... We used to manage our packages dependencies with Require.js while using Backbone. Does it make sense to do ...
52
votes
5answers
20k views

Angular.js Backbone.js or which has better performance

I am a web developer and I'm starting to develop a web application on a large scale, but I'm not sure what framework to use. I was thinking of Angular.js, but I also considered Backbone.js. For you, ...
51
votes
4answers
10k views

AngularJS: Where to put model data and behaviour?

I am working with AngularJS for my latest project. In the documentation and tutorials all model data is put into the controller scope. I understand that is has to be there to be available for the ...
47
votes
7answers
10k views

How to preventDefault on anchor tags in AngularJS?

Let's say I have an anchor tag such as <a href="#" ng-click="do()">Click</a> How can I prevent the browser from navigating to # in AngularJS? Thanks

1 2 3 4 5 558
15 30 50 per page