Here is the code used during my presentation "How To Create A Directive With Angularjs"