Commit e15c5781 authored by Pascal Hartig's avatar Pascal Hartig

AngularJS: Upgrade to 1.2.7

parent 397de63c
......@@ -2,11 +2,11 @@
"name": "todomvc-angular",
"version": "0.0.0",
"dependencies": {
"angular": "1.2.6",
"angular": "1.2.7",
"todomvc-common": "~0.1.4"
},
"devDependencies": {
"angular-mocks": "1.2.6",
"angular-route": "1.2.6"
"angular-mocks": "1.2.7",
"angular-route": "1.2.7"
}
}
/**
* @license AngularJS v1.2.6
* @license AngularJS v1.2.7
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
......@@ -842,7 +842,7 @@ function ngViewFactory( $route, $anchorScroll, $animate) {
var locals = $route.current && $route.current.locals,
template = locals && locals.$template;
if (template) {
if (angular.isDefined(template)) {
var newScope = scope.$new();
var current = $route.current;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment