Restrict property '{0}' of directive '{1}' is invalid
This error occurs when the restrict property of a directive is not valid.
The directive restrict property must be a string including one or more of the following characters:
For example:
restrict: 'E'
restrict: 'EAC'