Re:I won't be using Angular for my next project and neither ...
by ufo on Tuesday January 27, 2015 @10:49AM
(#8953637)
Is it really true that the order you write html attributes/directives in angular matters? That was pretty surprising for me.
[ Parent
| on HN ]
Re:I won't be using Angular for my next project and neither ...
by artjumble on Tuesday January 27, 2015 @11:10AM
(#8953808)
After looking at the linked article and reading the comments, it appears that it doesn't make an actual impact on performance. He is just suggesting the ordering for consistency.
Re:I won't be using Angular for my next project and neither ...
by robertthegrey on Thursday January 29, 2015 @08:54AM
(#8966071)
I don't know how you can say that when in his article he clearly says:
"In AngularJS, not all HTML attributes are equal; some have no significant effect; others have a profound impact on how your page is rendered."
If it was just about consistency, then it would for part of an Angular style guide that so many companies produce.