Excellent presentation - great flow and examples. Like the explanation of "=" two-way binding (reference), "@" one-way expression (top down), and "&" one-way behavior (bottom up). Would like to see Dave present on Advanced directives which he just touched on in closing.
You'll only really learn how to write an Angular directive by actually writing one. There are lots of little quirks that take some time to digest. But, if you've been putting it off, Dave Smith has a really approachable 30 minute talk on it from ng-conf.
I would not consider this a "deep dive" into directives. This video, albeit useful, like 99% of other videos about directives just really covers the basics.
Very good presentation . transclude is transfer and include (use it if you want to transfer something from directive declaration in dom and want to include it in template .
Dave. First of all congratulations on your presentation, it was very helpful. Just a note... I was copying the examples and on the Custom Widget Example I couldn't get it to work. I found that the error was that in the scope functions you were using $scope instead of scope... Is that correct ?
I don't understand his compile property explaination. When you return a function within compile isn't it a link function? Great talk on transclusion though!
Ha! I have the same question. I'm actually debating between all directives approach (the directive controller is being used as a regular controller) vs ng-include with ng-controllers. To me it makes sense to have only dom manipulation in directives. Anybody with thoughts or best practices on this? Here is a plunker comparing both approaches plnkr.co/edit/RlELKNnemQY2Bqc0IAy9
This is the third (3rd) time I have watched this presentation... it just keeps getting better and better each time.
Kudos Dave!
Simply super presentation on Directives.......Great job Dave Smith......
Great presentation, Dave!
Excellent presentation - great flow and examples. Like the explanation of "=" two-way binding (reference), "@" one-way expression (top down), and "&" one-way behavior (bottom up). Would like to see Dave present on Advanced directives which he just touched on in closing.
I would really like to see Dave presenting advanced directives. Most of the videos out there cover kind of the same topics.
Whoa! Everything is clear now. Thank you Dave Smith!
Fantastic talk. You're an amazing speaker. I hope you do more of these in the future.
Amazing! in such a short time, he explained pretty much everything about custom directives.
Great presentation style and content, thanks for this!
very clear and perfect explanation
thanks for your time and efforts
it really helped me at my work
Fantastic explanation of angular directives
Very nice presentation.
You'll only really learn how to write an Angular directive by actually writing one. There are lots of little quirks that take some time to digest. But, if you've been putting it off, Dave Smith has a really approachable 30 minute talk on it from ng-conf.
I see what you did there... "digest"
Arturo Guzman Any wrong about "digest"?..
Pearl Chen I believe your name says chen zhen zhu in Chinese
Loved it. Thanks
I would not consider this a "deep dive" into directives. This video, albeit useful, like 99% of other videos about directives just really covers the basics.
Great session!
great presentation, thank you!
Very good presentation . transclude is transfer and include (use it if you want to transfer something from directive declaration in dom and want to include it in template .
Very clear explanation. Thank you!
Great presentation.
Dave. First of all congratulations on your presentation, it was very helpful.
Just a note... I was copying the examples and on the Custom Widget Example I couldn't get it to work. I found that the error was that in the scope functions you were using $scope instead of scope... Is that correct ?
Very informative!!!
Really nice talk!
I don't understand his compile property explaination. When you return a function within compile isn't it a link function? Great talk on transclusion though!
+James Sidhu
It seems that there was no Compile function actually
Am I right?.
Slides: slid.es/djsmith/deep-dive-into-custom-directives
What an amazing job you did! You had me at "readyToShow". Well, actually, way before then, but I'm lazy.
I was glad to see you used slid.es, I love those - presentation software for nerds.
Cory Klein slide.es is pretty nice, but it's kinda buggy in edit mode. Lots of UX quirks.
I've never actually used the site itself, I just hand-wrote my slides in HTML...
You never did answer whether `my-select-all-on-focus` directive called compile() once or twice in the quiz :(
I need a slideshow document above, can you share it?
This guys is great...
Awesome talk!
scope: true creates a childScope though.. not isolate
would you make a directive wrapping a complex html (but not repetitive, no dom manipulation) vs using ng-include and assigning a controller to it ?
Ha! I have the same question. I'm actually debating between all directives approach (the directive controller is being used as a regular controller) vs ng-include with ng-controllers. To me it makes sense to have only dom manipulation in directives. Anybody with thoughts or best practices on this? Here is a plunker comparing both approaches plnkr.co/edit/RlELKNnemQY2Bqc0IAy9
Mark Bouwman Thanks for the feedback! That's what I"m thinking as well but my team in convinced in making everything a directive.
Nice!
Nice talk.
Man, u r awsum.
xD The bad directive joke is still bad by the end. Still, the presentation was great.
15:05 aka "snake-case"
Great presentation, terrible, terrible transcript. Can't believe somebody got paid for that.
um.. what transcript?
too basic