Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
  • Overview
  • Transcript

2.3 Restricting Directive Usage

An Angular directive can be used in several different ways: as an element, as an attribute, as a class, and even as a comment. We'll look at how to control this behaviour with the restrict property.