Skip to content

Commit

Permalink
fix(uiView): correctly detect $animator service
Browse files Browse the repository at this point in the history
  • Loading branch information
nateabele committed Dec 6, 2013
1 parent 4b8282c commit 1f56360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viewDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f56360

Please sign in to comment.