Can you define multiple restrict options on a directive?

Technology CommunityCategory: AngularJSCan you define multiple restrict options on a directive?
VietMX Staff asked 3 years ago

You can also specify multiple restrict options to support more than one methods of directive invocation as an element or an attribute. Make sure all are specified in the restrict keyword as: restrict: 'EA' .