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'
If yes, Which one will be called first?