The restrict options in directivesouth-man (32) in angularjs • 7 years ago The restrict option is typically set to: 'A' - only matches attribute name 'E' - only matches element name 'C' - only matches class name 'M' - only matches comment angularjs directive restrict