2 comments

[ 2.5 ms ] story [ 16.6 ms ] thread
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.