Creating custom directives in Angular
closurelog.com