diff options
| author | Pawel Kozlowski | 2012-12-17 23:18:12 +0100 |
|---|---|---|
| committer | Pawel Kozlowski | 2012-12-18 17:56:04 +0100 |
| commit | 1104c7d75bb095f608854ea583e7773db986a031 (patch) | |
| tree | 0a5361e578726d8676e9e541c7599271030b1a3e | |
| parent | 4c6b4447dba9b9027ddf14eae548f7ea0ef6f900 (diff) | |
| download | angular.js-1104c7d75bb095f608854ea583e7773db986a031.tar.bz2 | |
docs(ngView): fix code example (change template to templateUrl)
Closes #1715
| -rw-r--r-- | src/ng/directive/ngView.js | 2 |
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> |
