List and explain different types of directive available in AngularJS ?

devquora
devquora

Posted On: Feb 22, 2018

 

The different types of directives available in AngularJS are:

  • Element directives − It activates when a matching element is encountered.
  • Attribute − It activates when a matching attribute is encountered.
  • CSS − It activates when a matching CSS style is encountered.
  • Comment − It activates when a matching comment is encountered.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions