The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Write Your First Directive

Write Your First Directive

2:46
Write your very first directive! This lesson will show you how to declare a directive, and start using the "link" function to modify the behavior of an HTML element.
Watch this lesson now
Avatar
egghead.io

Write your very first directive! This lesson will show you how to declare a directive, and start using the "link" function to modify the behavior of an HTML element.

Avatar
Simona

Ok, I heard you saying 'this is not a good way of writing directives, it's just to show you etc. etc.', and I cannot find in any other post how to write a god directive. That sound very strange to me, it is a central argument in angular, and nowhere I can find it...

In reply to egghead.io
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?