标签: angular angularjs-directive angular-ui-router
我的组件如下:
@Component({ selector:'[seat-for-aecid]', template:` <div *ngFor="let html_tag of html_tags" > <"{{html_tag}}"> </"{{html_tag}}"> </div> `, }) export class SeatForAecid{ html_tags=['div','span','ul']; }
如何制作?有没有办法用数组参数创建标签html?