docs(minErr): improve compiler/iscp

This commit is contained in:
Igor Minar 2013-08-08 11:26:56 -07:00
parent 69058bf2c4
commit 465a2937cc

View file

@ -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.