0
をコントローラに状態からのデータを渡して私の状態である:私は連絡先(contactName
)のその名前を取得し、この状態でメソッドを実行したい角1/UI-ルータが - ここで
.state({
name: 'contact.detail.read.step.overlay',
url: '',
abstract: true,
data: {
skipFooter: true,
cancelState: 'contact.detail.read'
},
views: {
'[email protected]': {
component: 'overlayContent'
}
}
})
bindings: {
contactName: '<'
}
しかし:それは私がバインディングに追加した場合、私はoverlayContent
コントローラで連絡先の名前にアクセスすることができ、通常overlayContent
コントローラに認識されています
data: {
name: contactName,
skipFooter: true,
cancelState: 'contact.detail.read'
},