http://plnkr.co/edit/BeBKU48YGSJaYPNoaBGF?p=preview
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
<div data-ng-app="" ng-init="names=['1','2','3']">
<div ng-repeat="x in names">
<button ng-click="getElementById(x).innerHTML=Date()">The time is?</button>
<p id="{{x}}"></p>
</div>
</div>
&#13;
由于某种原因,我无法访问该ID。我做错了什么?