AngularJs DIRECTIVES
what/why?
North County AngularJS Discussion Group
July 22, 2014
GROUND RULES
- Have low expectations, I didn't write AngularJS.
- Ask questions or make comments at any time.
WHAT ARE DIRECTIVES?
Boring definition from documentation:
Directives are markers on a DOM element that tell AngularJS's HTML compiler to attach a specified behavior to that DOM element or even transform the DOM element and its children.
My (vague) definition:
- A single page app needs more than what the HTML spec offers, AngularJS empowers you to easily add new elements to address your app's needs.
WHY?
CS rigor
- separation of concerns
- reusability
- testability
Cory Ducker
@coryducker
coryjducker@gmail.com
https://github.com/coryd/surfer-directory