.div(ng-repeat='item in items')
button(id='ID{{$index}}') No Hi
button(id='anotherID1') Hi
相关角指令 $('#ID1').on('click', function() {alert('hi');}); // does not work
$('#anotherID1').on('clic
HTML <div repeater ng-repeat='item in items' class='first' id = '{{$index}}' > {{item}} </div>
angularjs指令: - angular.module('time', [])
.directive('repeater', function() {
var linkFn = f