angularjs - Angular JS: ng-repeat in Marquee -
how use marquee ng-repeat in angular js?
i tried
<marquee> <span ng-repeat="item in allitems"> <img src="img/ticker.png" style="padding-top:3px;">{{item.news}} </span> </marquee>
but doesn't seem work
also, please suggest sliding news ticker designed in angular way.
you have forgotten {{ }}
marks
<marquee> <span ng-repeat="item in allitems"> <img src="img/ticker.png" style="padding-top:3px;">{{item.news}} </span> </marquee>
edit: since have edited question include solution
marquee deprecated in html5, should use css solution, or angular 1 here simple fiddle marquee functionality, , a ticker
Comments
Post a Comment