Reputation: 6585
How should I use Material design icons as items in list created using angular ng-repeat? I create example which doesn't work :/
<div ng-app ng-controller="MyCtrl">
<ul>
<li ng-repeat="(country,goals) in items">{{country}}: {{goals}}</li>
<i class="material-icons">face</i>
<i class="material-icons"></i>
</ul>
</div>
http://jsfiddle.net/RkykR/1912/
Upvotes: 0
Views: 662
Reputation: 4833
Including
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
is enough. No need to add custom styles to your css unless you self hosting it.
Upvotes: 1