Directive Restrictions

John Lindquist
InstructorJohn Lindquist

Share this video with your friends

Send Tweet

By default AngularJS directives can be used with elements, attributes, classes, and comments. Many times we want to restrict it to one or more of those to control how a directive will be used. This lesson digs into how and why to use Directive restrictions.