0

how to use method LoadIntoLocation with angular2 rc 001

in DynamocComponentLoader I have just two methods loadAsRoot and loadNextLocation

thanks

khalil _diouri
  • 791
  • 3
  • 12
  • 34
  • Check the [Equivalent of $compile in Angular 2](http://stackoverflow.com/a/37044960/1679310) for a plunker and some details – Radim Köhler Jun 21 '16 at 15:17

1 Answers1

0

loadIntoLocation was removed a while back. DynamicComponentLoader is deprecated anyway. Use ViewContainerRef.createComponent() instead.

For an example see Angular 2 dynamic tabs with user-click chosen components

Community
  • 1
  • 1
Günter Zöchbauer
  • 623,577
  • 216
  • 2,003
  • 1,567