【发布时间】:2017-04-25 19:46:37
【问题描述】:
如何在我的指令中获取 FirstName 值?
<hello-World value="{{item.FirstName}}"> </hello-World>
app.directive('helloWorld', function() {
return {
restrict: 'AE',
replace: 'true',
template: '<h3>Hello ??????</h3>'
};
});
【问题讨论】:
标签: angularjs angularjs-directive