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.