@R_502_323@
您可以使用angular2_components中的动态组件:
https://github.com/dart-lang/angular2_components/tree/master/lib/src/components/dynamic_component
https://github.com/dart-lang/angular2_components/tree/master/lib/src/components/dynamic_component
它允许您传递组件的[类型],它将完成工作.