4

I'm trying to create a single component that can be reused with multiple template urls. For example, I can switch between custom.html, custom1.html, custom2.html as the template urls for the same component using a dynamic input.

I was previously using this method, but it doesn't work with Angular 2 final. A rewrite of that inner content directive without deprecated methods would work for me.

I've looked at NgTemplateOutlet, but can't get anywhere with it. Any help is appreciated.

Thanks!

Community
  • 1
  • 1
Scott
  • 944
  • 1
  • 6
  • 9

0 Answers0