Re:Lessons Learned: A Year with a Large AngularJS Project
by bsaul on Thursday May 23, 2013 @11:06AM
(#5757209)
you 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.
Re:Lessons Learned: A Year with a Large AngularJS Project
by thisone on Thursday May 23, 2013 @11:58AM
(#5757562)
re 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 as mentioned
and the Angular meetup video about directives: 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.
Re:Lessons Learned: A Year with a Large AngularJS Project
by joelhooks on Thursday May 23, 2013 @12:01PM
(#5757582)
The angular internals is another great resource for directives, as the framework itself uses them heavily.
Re:Lessons Learned: A Year with a Large AngularJS Project
by ezequiel-garzon on Thursday May 23, 2013 @01:41PM
(#5758183)
If you don't mind, what is your blog? Thanks.
Re:Lessons Learned: A Year with a Large AngularJS Project
by joelhooks on Thursday May 23, 2013 @11:08AM
(#5757219)
On this project we are saddled with Maven, you are right. I am gonna add a section on build.
Re:Lessons Learned: A Year with a Large AngularJS Project
by ccera on Thursday May 23, 2013 @12:58PM
(#5757920)
I found this helpful in understanding how to use directives:
http://thesmithfam.org/blog/2012/12/17/communicating-between...
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.