AngularJS Cheat Sheet [pdf]
dncmagazine.blob.core.windows.net
AngularJS Cheat Sheet [pdf]
1–10 of 48 posts
Re: AngularJS Cheat Sheet [pdf]
#2Re: AngularJS Cheat Sheet [pdf]
#3Re: AngularJS Cheat Sheet [pdf]
#4Re: AngularJS Cheat Sheet [pdf]
#5Nice domain name.
Nice cheat sheet though!
Re: AngularJS Cheat Sheet [pdf]
#6The ones for emacs/vim are 1 page only, I guess we have a measure of the complication of angular now.
Re: AngularJS Cheat Sheet [pdf]
#714 pages for a cheatsheet! The ones for emacs/vim are 1 page only, I guess we have a measure of the complication of angular now.
Re: AngularJS Cheat Sheet [pdf]
#814 pages for a cheatsheet! The ones for emacs/vim are 1 page only, I guess we have a measure of the complication of angular now.
Re: AngularJS Cheat Sheet [pdf]
#9> Always have a ‘.’ in your ng-models which insures prototypal inheritance.
That isn't what that does. The egghead.io Angular videos also get this wrong. I really think that the vast majority of Angular programmers don't really understand how its scoping works. I've ranted about this before [1], it's just ridiculously complex.
Some scopes inherit prototypically from their parents, and others don't, and you can't tell or affect it from the markup. The dot just means you're referring to a property of an object on the scope. If the object is somewhere in the scope inheritance chain, two directives attached at different points in that chain can share data by pointing to the object. If the object isn't there, what the name points to is actually non-deterministic. Ng-model silently creates it, and the point in the chain at which it creates it depends on which directive wanted to write to the property, which might depend on the order in which the user interacts with the different elements on the page.
[1]: http://larseidnes.com/2014/11/05/angularjs-the-bad-parts/