173
votes
3answers
34k 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 ...
121
votes
7answers
38k views
56
votes
8answers
10k 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?
45
votes
4answers
16k 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, ...
42
votes
2answers
5k 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:
...
41
votes
9answers
11k 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 ...
41
votes
3answers
9k 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 ...
31
votes
6answers
9k views
Google Angular Framework - Worth the risk?
I have been asked to build a small web application for one of our clients and think it might be a good opportunity to try out a different framework for building web applications. Most of the ...
26
votes
3answers
8k views
Call Angular JS from legacy code
I'm using angular to build HTML controls that interact with a legacy Flex application. All callbacks from the Flex app must be attached to the DOM window.
For example (in AS3)
...
24
votes
5answers
12k views
Can one controller call another in AngularJS?
Is it possible to have one controller use another?
For example:
This HTML document simply prints a message delivered by the MessageCtrl controller in the messageCtrl.js file.
<html ...
24
votes
3answers
5k 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 ...
23
votes
4answers
7k 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 ...
22
votes
2answers
8k views
Can Angular.js auto-update a view if a persistent model (server database) is changed by an external app?
I'm just starting to familiarize with Angular.js, but I would like to build a web app that has a view that gets auto-upated in real-time (no refresh) for the user when something changes in the ...
19
votes
3answers
8k views
Is there an IDE with explicit support for Angular JS?
I've tried WebStorm but there only seems to be a basic JavaScript support there, like in any other web IDE I have tried. I'm looking for something that would allow me to click-through from HTML pages ...
17
votes
5answers
8k views
Watch multiple things in AngularJS
Is there a way to subscribe to events on multiple objects using $watch
E.g.
$scope.$watch('item1, item2', function () { });