Directives label DOM elements (much like CSS classes, attributes or element names). They allow AngularJS’s HTML compiler ($compile) to associate certain behavior with the element. AngularJS comes with many such directives already (starting with ng-, like ng-controller) and you can even create your own directives.
]]>