这里是这里locted一个plunker:角1.5组件未通过模态数据
https://plnkr.co/edit/V8lGOv44a95weFKipDYF?p=preview
app.component('exampleComponentTest', {
bindings: {
title: '='
},
template: '<h2>Title: {{exampleComponentTest.title}}</h2>',
controller: function() {
}
});
我创建了一个自定义组件期待它接受来自标签的title属性,但它不工作,我预期。我如何才能正常工作?