我的任务是让通知切换可以通过标签访问,以便于访问。谷歌搜索已经完全失败了。我怎么能做到这一点?
HTML:
<!-- Settings - Notifications -->
<div class="panel-body account-settings" ng-show="item == 3" ng-controller="noteSettingsController as note">
<div class="row">
<h4 class="text-center">Email</h4>
<form class="form-horizontal">
<div class="form-group" ng-repeat="(key, alert) in defs.email">
<div class="row">
<label for="emailCritNotes" class="col-sm-2 control-label">{{alert.name}}</label>
<div class="col-sm-8">
{{alert.desc}}
</div>
<div class="col-sm-2">
<i class="fa" ng-click="toggleEmail(key)" ng-class="{'fa-toggle-on': alert.status, 'fa-toggle-off': !alert.status}"></i>
</div>
</div>
</div>
</form>
</div>