231
votes
3answers
46k 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 ...
165
votes
5answers
50k views
69
votes
9answers
15k 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?
64
votes
2answers
10k 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:
...
53
votes
10answers
17k 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 ...
53
votes
2answers
11k 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 ...
51
votes
5answers
19k 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, ...
46
votes
6answers
13k 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 ...
43
votes
5answers
8k 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 ...
36
votes
6answers
10k 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 ...
36
votes
6answers
17k 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 ...
34
votes
3answers
10k 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)
...
27
votes
2answers
10k 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 ...
27
votes
4answers
11k 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 ...
25
votes
2answers
14k views
Insert HTML into view using AngularJS
Is it possible to create an HTML fragment in an Angular controller and have this HTML shown in the view?
This comes from a requirement to turn an inconsistent JSON blob into a nested list of id : ...