Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit f7c7304

Browse files
committed
updating error doc
1 parent b567549 commit f7c7304

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/content/error/$compile/badrestrict.ngdoc

+8-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@
55

66
This error occurs when the restrict property of a directive is not valid.
77

8-
The directive restrict property must be a string with possible character values being:
8+
The directive restrict property must be a string including one of more of the following characters:
99
* E (element)
1010
* A (attribute)
1111
* C (class)
12-
* M (comment)
12+
* M (comment)
13+
14+
For example:
15+
```javascript
16+
restrict: 'E'
17+
restrict: 'EAC'
18+
```

0 commit comments

Comments
 (0)