如何获取ng-template中的元素

<script type="text/ng-template" id="myModalShowUserNames.html">
<div class="modal-body">
<thead> <tr> <th class="text-center" style="width:100%;">用户姓名</th> </tr> </thead>
<table id="bootstrap-joinednames" class="table table-striped table-bordered">
<tbody>
<tr ng-repeat="x in loginNames">
<td class="text-left">{{ x }}</td> </tr>
</tbody>
</table>
</div>
<div class="modal-footer"> <button class="btn btn-warning"  ng-click="cancel()">取消</button> </div>
</script>
想获取姓名如何操作


car
浏览 1099回答 0
0回答

慕斯4360584

PYLSPYQNXCGGZZGWVJXXSMSBBSCNHYYCQMATKYYFWHPGTTMNHRRYMRPLUKXYSFQKXYATKUBSIPJNOSVYPTYOVVHETCSPDNUUITVINFGKIPWKUVULLMGQUERYOTDJKFIOBFZJPGAXVVMCAAHHULOCXKGRVIIRRVYZBYSLPWYVPZGWXDHYCLBGICTGXQAJUUEIPPPNQXXQQNARRYMPWTCNLJXLVJGUIHXZGDEQUOODMWTUEWKBFSRFICBCWFFZQPEMYPDNURVIDWFMACDTKPJTCSKRKLQEYFMVFLPHHYMWWENXRVFMSWIWMCCJUULLZJDFDBODUOTTHYDXYLOXSZRBCGFPTXSBLFVTDAMTXNYCCRIUFYKEBSVFKLJJTDXUCIHOSDNGXRULLLFWEOYJNFWQAELKDDNHLMDUOYEDOOMGGGZTBMLXXPQEEESZGWYZKEWPDNEKYBSQIDAUPQYNNRYPGBNCSCUNERAEEYCJVYIGSJZWXHJBVAAVYFCDGDBEUUPPPQQUHZOYIJZQLQRJXPZYCXRLVMADKLCXBIFWTUYXKVZPWZUUYNTLJXXHYSCGGFFWEYCWGANLEMQKUUIDIPZNCFZQQWRMJATZGLZYFVPWLSCIWJUEZWTKDULFPZJNSOFOYKHVQHZMJKKUCQVCPEFWQJDGACFZZKAGGTNHSCJXXKUKHYJNEGQEVFBBYVZOBSZMRBUBFJWPJXW
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

AngularJS