Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From \$16.50/m
FREELessons:17Length:1.3 hours

• 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.