Directives comes with the AngularJS library itself. A sample directive can be created as:
angular.module('simpleDirective', [])
.directive('helloData', function() {
return {
template: 'Hello, {{data}}'
};
});
And can be used as:
JS:
angular.module('app', ['simpleDirective'])
.con...