We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b8282c commit 1f56360Copy full SHA for 1f56360
src/viewDirective.js
@@ -14,7 +14,7 @@ function $ViewDirective( $state, $compile, $controller, $injector, $an
14
var viewScope, viewLocals,
15
name = attr[directive.name] || attr.name || '',
16
onloadExp = attr.onload || '',
17
- animate = isDefined($animator) && $animator(scope, attr),
+ animate = $animator && $animator(scope, attr),
18
initialView = transclude(scope);
19
20
// Returns a set of DOM manipulation functions based on whether animation
0 commit comments