Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to create custom directives in AngularJS?

Answer Posted / pankajbisane

Custom directives are used in AngularJS to extend the functionality of HTML. Custom directives are defined using "directive" function. A custom directive simply replaces the element for which it is activated. AngularJS application during bootstrap finds the matching elements and do one time activity using its compile() method of the custom directive then process the element using link() method of the custom directive based on the scope of the directive

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does SPA (Single page application) mean?

843


How to enable html5 mode in angular 1.x?

849


Why should I learn angular?

762


What is react vs angular?

800


What is the difference between angular 4 and angular 7?

751


What is @viewchild?

766


What are “streams” in node.js? Explain the different types of streams present in node.js?

792


Does AngularJS have dependency on jQuery?

783


How will you create a custom service?

786


What is 'transfer data to and from the ui' in angularjs?

825


What is token based authentication in angular 4?

823


What is transpiling?

816


How to initialize a select box with options on page load in angular js?

845


What are angular global apis?

821


What are templates in angular?

778