Is there a way to smoothly fade in an image when the page loads using Angular JS? I've tried implementing the following code with AngularJS, but it doesn't seem to be working correctly (source: http://plnkr.co/edit/ncqEB3PafIWbwv0UH1QG?p=preview)
View
<object type="image/svg+xml" data="img/logo-blue.svg" class="navbar-logo" ng-class="{'fade-in': vm.fade }"></object>
Controller
vm.fade = true;
CSS
.animation { opacity:0; transition:all 200ms ease-in-out; }
.animation.fade-in { opacity:1; }