Here are the few things about which we should have a clear concept before we start learning angular js i.e
directives, expressions, filters, modules, and controllers.
In AngularJS directives play a major role as it is used to extend HTML with ng-directives.To understand how we use directives go through this simple example of angularjs:
Here's the code
<div ng-app="" ng-init="Name='Pinky'">
<p>Name is <span ng-bind="Name"></span></p>
Name is Pinky
Here few ng-directives are used such as ng app, ng-init, ng-bind.I will discuss these directives in my next blog.