mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
docs(minErr): improve compiler/iscp
This commit is contained in:
parent
69058bf2c4
commit
465a2937cc
1 changed files with 7 additions and 5 deletions
|
|
@ -1,11 +1,11 @@
|
|||
@ngdoc error
|
||||
@name $compile:iscp
|
||||
@fullName Invalid Isolate Scope
|
||||
@fullName Invalid Isolate Scope Definition
|
||||
@description
|
||||
When {@link guide/directive#directivedefinitionobject declaring isolate scope} the scope definition object must
|
||||
be in specific format which starts with mode character (`@&=`) with an optional local name.
|
||||
|
||||
<pre>
|
||||
When declaring isolate scope the scope definition object must be in specific format which starts with mode character (`@&=`) with an optional local name.
|
||||
|
||||
```
|
||||
myModule.directive('directiveName', function factory() {
|
||||
return {
|
||||
...
|
||||
|
|
@ -19,4 +19,6 @@ myModule.directive('directiveName', function factory() {
|
|||
...
|
||||
}
|
||||
});
|
||||
</pre>
|
||||
```
|
||||
|
||||
Please refer to the {@link guide/directive#directivedefinitionobject directive definition docs} to learn more about the api.
|
||||
|
|
|
|||
Loading…
Reference in a new issue