4 ms·
Having just built a hobby Angular.js app, it's cool to see that it fits large aims. For personal use, I found it incredibly refreshing to use, even as bizarrely
by danso 14y ago
Having just built a hobby Angular.js app, it's cool to see that it fits large aims. For personal use, I found it incredibly refreshing to use, even as bizarrely different as it was to anything else I've tried. Not in a bad way, but in the sense that it was more convention than I was used to (outside of Rails)
I would add that the Yeoman build manager is an absolute delight to structuring and managing your project. It was so slick that when making my first Angular app, I also ended up learning CoffeeScript to kill two birds at once...Yeoman made this otherwise prickly situation as smooth as possible.
And I also would agree that directives are Angular's killer feature...and unfortunately for me at the time, one of the hardest to grok because of their magic. Anyone writing an Angular tutorial would do a great service to emphasize the power and use cases for directives.
- bsaul 14y agoyou absolutely should look at the videos on egghead.io about directives. they are a must read as they go very deep into the subject while keeping things extremely easy to understand.
- joelhooks 14y agoOn this project we are saddled with Maven, you are right. I am gonna add a section on build.
- thisone 14y agore directives two places really helped me go from wtf to, "hey I can do that!" (and now I'm onto transclusions) http://www.egghead.io http://www.egghead.io as mentioned and the Angular meetup video about directives: http://www.youtube.com/watch?v=WqmeI5fZcho http://www.youtube.com/watch?v=WqmeI5fZcho The documentation for Angular is dense. As in I've found myself having a lot of "ahah!" moments from reading 3 words. I'm actually starting to annotate it on my blog as I find stuff out. All that being said, I'm using Angular to make single page app prototype very quickly, coming from having no experience creating single page apps, but with a fair few years of MVC under my belt.
- joelhooks 14y agoThe angular internals is another great resource for directives, as the framework itself uses them heavily.
- ezequiel-garzon 14y agoIf you don't mind, what is your blog? Thanks.
- ccera 14y agoI found this helpful in understanding how to use directives: http://thesmithfam.org/blog/2012/12/17/communicating-between-directives-in-angularjs/ http://thesmithfam.org/blog/2012/12/17/communicating-between...