mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-18 07:50:52 +08:00
docs(minErr): improve compiler/iscp
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user