aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2013-08-08 11:26:56 -0700
committerIgor Minar2013-08-08 11:26:56 -0700
commit465a2937cc9e612608abcbb26a02f53cf5718e36 (patch)
treea688c5d1eb55710261eb78cebe54dc937e052df6
parent69058bf2c4a94fb7a9ac0ded3d061ebdac22ede3 (diff)
downloadangular.js-465a2937cc9e612608abcbb26a02f53cf5718e36.tar.bz2
docs(minErr): improve compiler/iscp
-rw-r--r--docs/content/error/compile/iscp.ngdoc12
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/content/error/compile/iscp.ngdoc b/docs/content/error/compile/iscp.ngdoc
index 3c5c3208..accd0eaf 100644
--- a/docs/content/error/compile/iscp.ngdoc
+++ b/docs/content/error/compile/iscp.ngdoc
@@ -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.