diff options
Diffstat (limited to 'docs/content/error/compile/iscp.ngdoc')
| -rw-r--r-- | docs/content/error/compile/iscp.ngdoc | 12 | 
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. | 
