Nitin Choudhary
Explain what is directive and Mention what are the different types of Directive?
By Nitin Choudhary in Angular on Jan 20 2015
  • Santhakumar Munuswamy
    Jul, 2015 19

    A Directive can be used in an element name, attributes, class name as well as comments. Types of Directives:- 1. Element Directive 2. Attributes Directive 3. Class Directive 4. Comment Directive

    • 0
  • Nitin Choudhary
    Jan, 2015 20

    During compilation process when specific HTML constructs are encountered a behaviour or function is triggered, this function is referred as directive. It is executed when the compiler encounters it in the DOM.Different types of directives areElement directives Attribute directives CSS class directives Comment directives

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS