I'm currently in the process of transitioning from using Bootstrap to Angular Material in an existing application. I need assistance with replacing the Bootstrap icons with Angular Material icons. Any help is greatly appreciated.
<md-button class="md-fab md-mini" color="warn"
ng-repeat="question in quiz.dataService.quizQuestions"
ng-class="{'btn-info': question.selected !== null, 'btn-danger': question.selected === null}"
ng-click="quiz.setActiveQuestion($index)">
<span class="glyphicon"
ng-class="{'glyphicon-pencil': question.selected !== null, 'glyphicon-question-sign': question.selected === null}">
</span>
</md-button>
I am looking to replace the glyphicon-pencil and glyphicon-question icons with
<i class="material-icons">help</i>
<i class="material-icons">star_border</i>
I attempted this solution but it did not work as expected.
<i class="material-icons">
{'help' = : question.selected !== null, 'star_border': question.selected === null}
</i>