Create a custom directive in Angular JS
Angular Js uses MVW(Model View whatever) Architecture. We can create a dynamic pages using Angular Js. We can extend the HTML functionality using Angular JS directive method. We can extend the HTML with four types Element – <my-dir></my-dir> Attribute – <div my-dir=”example”></div> CSS – <div class=”my-dir”></div> Comment $compile method match the directives based on element, […]