aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/script.js
diff options
context:
space:
mode:
authorrodyhaddad2013-09-08 17:22:54 -0400
committerPete Bacon Darwin2013-09-11 13:28:17 +0100
commitd8987c170f98650baecae66ccc272bdbca352f64 (patch)
tree37b786d4356ae515efbeb2320eff14ac55f6bb54 /src/ng/directive/script.js
parent15674406654733f24af63c65c60ce13be64fe0db (diff)
downloadangular.js-d8987c170f98650baecae66ccc272bdbca352f64.tar.bz2
docs(ng.directives): add correct @restrict for all ng directives
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