creating simple directive
creating directive as an element
creating directive as an class attribute
creating domain specific element on html page using directive
creating isolate scope for directive
creating isolate scope with different bindings on main scope
creating isolate scope for upvote functionality
a note for isolate scope
handling events with directive
creating gravatar directive for gravatarUrlBuilder functionality using $observe and $set functions