How do I change the appearance of the selected button in a row of Material Design buttons?
问题 I have a HTML table and in several rows I have a Material Design button in each cell, dynamically generated using AngularJS. <table class="plans"> <tbody> <tr> <td>Work Plans</td> <td ng-click="pbmainController.selectPlan(plan.planName)" ng-repeat="plan in pbmainController.planList"> <md-button class="md-raised">{{plan.planName}}</md-button> </td> </tr> </tbody> </table> Only one of button can be selected at a time (i.e. like a radio button). How do I change the color of the selected button?