0

I just started learning angular2 and I am trying to do sample program on dynamic template loading. I am following this link

But because ComponentResolver is deprecated, so I am not able to execute this code. Can any one help me, how I can do the same on stable version of Angular2.

deen
  • 2,185
  • 7
  • 29
  • 53
  • 1
    You can find the answer here http://stackoverflow.com/questions/40060498/angular-2-1-0-create-child-component-on-the-fly-dynamically – yurzui Oct 17 '16 at 12:54
  • @yurzui, thank you so much – deen Oct 17 '16 at 13:01
  • Similar issue is covered here [How can I use/create dynamic template to compile dynamic Component with Angular 2.0?](http://stackoverflow.com/q/38888008/1679310) – Radim Köhler Oct 17 '16 at 13:04

0 Answers0