Directives in AngularJS are, that get run when DOM is complied by the compiler. Directives are used to extend HTML and DOM element's behaviour and create reusable and testable code.These are attributes that starts with ng- prefix.
8. ng-cloak : It is used to prevent displaying the content until AngularJS has taken control. syntax:
<div ng-cloak="" ng-bind="name"></div>
9. ng-hide|show: It is used to show|hide the DOM element based on its expression. syntax:
<span></span> This div will show when showDiv is true.
<span></span> This div will hide when showDiv is true.
10. ng-include : It is used to include external HTML fragment to our page.