Understanding Directives (ng-app, ng-model, ng-init, etc.)
In AngularJS, directives are special markers or instructions used to extend HTML with custom attributes, elements, or behaviors. Directives allow you to attach specific behaviors to elements in the DOM….