0
domの状態を変更するためにui-srefを使用しています。ユーザーがこの参照スコープをクリックすると、このケースに関するベストプラクティスが破棄されます。現在のスコープデータを配列などに格納したくない。ここに私のコードです。中マウスボタンがスコープを分散したときの角度Anglejs
<td class="v-middle">
<a ui-sref="app.customer-profile-details({id: '{{entry.profileId ? entry.profileId:0}}',
operation:'update'})">
<span class="text-primary">
<strong><u>{{entry.last_interaction | date:"MM/dd/yyyy h:mm"}}</u>
</strong></span>
</a>
</td>
.state('app.customer-profile-details', {
url: '/customer-profile-details',
templateUrl: 'views/customer-profiles/customer-profile-details.html',
controller: 'CustomerProfileDetailsController',
data: {
title: 'customer-profile-details.TITLE',
icon: 'icon-user',
link: null,
back: 'app.customer-profiles'
},
params: {id: null, operation: null},
resolve: load([])
上記の私の状態のコード。ありがとうございました。