I am currently exploring the ins and outs of angularJS with my simple message ticker example.
This ticker displays messages by toggling the CSS display property of one of the li elements.
<div id="ngtickerMessage" class="ngtickerMessage">
<ul >
<li ng-style="{display:setVisible($index)}" data-ng-repeat="msgObj in msgs track by $index">{{msgObj.msg}}</li>
</ul>
</div>
</div>
My main question is: can we achieve a cross-fade effect on the content of li elements using ngAnimate and the ng-style attribute?