0
안녕하세요 제가통과 파라미터
자바 스크립트 함수<div class="col-sm-6 col-lg-2" ng-repeat="x in names | filter:FilterModeFirst">
<div class="row">
<div class="col-sm-16 col--lg-12">
<div class="callout">
<small class="text-muted">{{x.name}}</small>
<br>
<small class="h6">{{x.Indx}}%</small>
<img src="./img/Add.png" style="cursor:pointer" ID="imgAdd" onclick="AddServiceName(" {{x.name}} ")"/>
</div>
</div>
</div>
</div>
가 컨트롤러 기능으로 전달하는 것이 좋습니다 (NG-클릭 '으로 = "AddServiceName (x.name)는"'), 어느입니다 '$ scope.AddServiceName = function (name) {...}'로 초기화됩니다. –