Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
An Angled Mind – Why AngularJS is awesome (thunderboltlabs.com)
5 points by walski on Jan 31, 2013 | hide | past | favorite | 2 comments


I like how he uses transitions in CSS for Angular but does it in code for jQuery to make the jQuery code look much more complicated. Why not `$('some-box').toggleClass('open')`


Totally true. I chose the example as I think a lot of people do it that way right now. Sure you can write pretty good code with jQuery. AngularJS just makes it a lot easier.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: