aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error/compile/iscp.ngdoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/error/compile/iscp.ngdoc')
-rw-r--r--docs/content/error/compile/iscp.ngdoc25
1 files changed, 0 insertions, 25 deletions
diff --git a/docs/content/error/compile/iscp.ngdoc b/docs/content/error/compile/iscp.ngdoc
deleted file mode 100644
index 1450dec9..00000000
--- a/docs/content/error/compile/iscp.ngdoc
+++ /dev/null
@@ -1,25 +0,0 @@
-@ngdoc error
-@name $compile:iscp
-@fullName Invalid Isolate Scope Definition
-@description
-
-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 {
- ...
- scope: {
- 'attrName': '@', // OK
- 'attrName2': '=localName', // OK
- 'attrName3': 'name', // ERROR: missing mode @&=
- 'attrName4': ' = name', // ERROR: extra spaces
- 'attrName5': 'name=', // ERROR: must be prefixed with @&=
- }
- ...
- }
-});
-```
-
-Please refer to the {@link ng.$compile#description_comprehensive-directive-api_directive-definition-object
-`scope` option} of the directive definition documentation to learn more about the API.