aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Kozlowski2012-12-17 23:18:12 +0100
committerPawel Kozlowski2012-12-18 17:56:04 +0100
commit1104c7d75bb095f608854ea583e7773db986a031 (patch)
tree0a5361e578726d8676e9e541c7599271030b1a3e
parent4c6b4447dba9b9027ddf14eae548f7ea0ef6f900 (diff)
downloadangular.js-1104c7d75bb095f608854ea583e7773db986a031.tar.bz2
docs(ngView): fix code example (change template to templateUrl)
Closes #1715
-rw-r--r--src/ng/directive/ngView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/directive/ngView.js b/src/ng/directive/ngView.js
index 6bfbb279..2fd3a600 100644
--- a/src/ng/directive/ngView.js
+++ b/src/ng/directive/ngView.js
@@ -28,7 +28,7 @@
<hr />
<pre>$location.path() = {{$location.path()}}</pre>
- <pre>$route.current.template = {{$route.current.template}}</pre>
+ <pre>$route.current.templateUrl = {{$route.current.templateUrl}}</pre>
<pre>$route.current.params = {{$route.current.params}}</pre>
<pre>$route.current.scope.name = {{$route.current.scope.name}}</pre>
<pre>$routeParams = {{$routeParams}}</pre>