From 1f5636080c0ab28fbf3da6dec82f0d1c3307f821 Mon Sep 17 00:00:00 2001 From: Nate Abele Date: Fri, 6 Dec 2013 14:03:04 -0500 Subject: [PATCH] fix(uiView): correctly detect $animator service --- src/viewDirective.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewDirective.js b/src/viewDirective.js index 58978e16c..855db33d4 100644 --- a/src/viewDirective.js +++ b/src/viewDirective.js @@ -14,7 +14,7 @@ function $ViewDirective( $state, $compile, $controller, $injector, $an var viewScope, viewLocals, name = attr[directive.name] || attr.name || '', onloadExp = attr.onload || '', - animate = isDefined($animator) && $animator(scope, attr), + animate = $animator && $animator(scope, attr), initialView = transclude(scope); // Returns a set of DOM manipulation functions based on whether animation