AngularJS directives and the computer science of JavaScript | Adobe Developer Connection | AngularJS | Scoop.it
Take a look at Angular Directives, the problem they solve, and how you can create your own re-usable components. (The first comprehensible intro to AngularJS directives that I've found.