e79c472fdd
Closes #15979
19 lines
384 B
Plaintext
19 lines
384 B
Plaintext
@ngdoc error
|
|
@name $compile:badrestrict
|
|
@fullName Invalid Directive Restrict
|
|
@description
|
|
|
|
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:
|
|
* E (element)
|
|
* A (attribute)
|
|
* C (class)
|
|
* M (comment)
|
|
|
|
For example:
|
|
```javascript
|
|
restrict: 'E'
|
|
restrict: 'EAC'
|
|
```
|