I have html structure
<div class="myDiv">
<div style="width:200px; height:200px;background-image:url('img/200x200/{{largeImg}}.png');"
ng-class="{'magictime foolishIn': 1}">
<span>
{{largeImg}}
</span>
</div>
</div>
using ng-class I want to apply css class to current element which will invoke certain animation on that element like here
css class is correctly applied when I look using firebug but animation is not invoked. When I replace this code with hardcoded values everything works
<div style="width:200px; height:200px;background-image:url('img/200x200/1.png');"
ng-class="{'magictime foolishIn': 1}">
<span>1</span>
</div>
from angularjs I'm using $scope.largeImg as property for binding on the view.