From f2d526190a4fb38d1192803dccc9b60492e9ab76 Mon Sep 17 00:00:00 2001 From: Pawel Kozlowski Date: Mon, 17 Dec 2012 23:18:12 +0100 Subject: [PATCH] docs(ngView): fix code example (change template to templateUrl) Closes #1715 --- src/ng/directive/ngView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/directive/ngView.js b/src/ng/directive/ngView.js index 6bfbb279ab6e..2fd3a6005d88 100644 --- a/src/ng/directive/ngView.js +++ b/src/ng/directive/ngView.js @@ -28,7 +28,7 @@
$location.path() = {{$location.path()}}
-
$route.current.template = {{$route.current.template}}
+
$route.current.templateUrl = {{$route.current.templateUrl}}
$route.current.params = {{$route.current.params}}
$route.current.scope.name = {{$route.current.scope.name}}
$routeParams = {{$routeParams}}