mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-20 20:31:52 +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
|
@ngdoc error
|
||||||
@name $compile:iscp
|
@name $compile:iscp
|
||||||
@fullName Invalid Isolate Scope
|
@fullName Invalid Isolate Scope Definition
|
||||||
@description
|
@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() {
|
myModule.directive('directiveName', function factory() {
|
||||||
return {
|
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