aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/directive/script.js')
-rw-r--r--src/ng/directive/script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/directive/script.js b/src/ng/directive/script.js
index 16bd7d15..db94a6c7 100644
--- a/src/ng/directive/script.js
+++ b/src/ng/directive/script.js
@@ -3,12 +3,12 @@
/**
* @ngdoc directive
* @name ng.directive:script
+ * @restrict E
*
* @description
* Load content of a script tag, with type `text/ng-template`, into `$templateCache`, so that the
* template can be used by `ngInclude`, `ngView` or directive templates.
*
- * @restrict E
* @param {'text/ng-template'} type must be set to `'text/ng-template'`
*
* @example