• AngularJS directives are markers on the DOM that tells the Angular compiler to attach behavior or transform the DOM element

  • Directives can be placed on the DOM as:

    • Element directives        <product-description></product-description>

    • Attribute directives    <H3 product-description></H3>

    • CSS class directives    <div class=“product-description”></div>

    • Comment directives