We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ea03a14 + 764b914 commit de8e2e2Copy full SHA for de8e2e2
src/viewDirective.js
@@ -1,7 +1,7 @@
1
2
$ViewDirective.$inject = ['$state', '$compile', '$controller', '$injector', '$anchorScroll'];
3
function $ViewDirective( $state, $compile, $controller, $injector, $anchorScroll) {
4
- var $animator = $injector.has('$animator') ? $injector.get('$animator') : null;
+ var $animator = $injector.has('$animator') ? $injector.get('$animator') : false;
5
var viewIsUpdating = false;
6
7
var directive = {
0 commit comments