Seems to work if you move the ng's to a new a-tag.? I havent tested it in 
all browsers and stuff.

<div ng-controller="Main">
    
    <div style="width:100px;margin:10%;border:1px solid #000;" ><a href="#" 
ng-animate="{enter: 'rotate', leave: 'rotateCounterwise'}" ng-class="{true: 
'rotate', false: 'rotateCounterwise'}[isActive]" ng-click="rotate()"><i 
class="fa fa-cog"></a></i>
click to rotate</div>
</div>


Cheers
Bille
www.elitenet.dk





-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to