1

i'm working on designing Angular Universal project and i want to get some stand alone html into my component and use it as view so that user will be able to edit template without dev efforts.

In just Angular 2+ it's possible to get external template in this way: Angular4 Load external html page in a div

Will it be possible to implement similar thing using Angular Universal?

VladosJS
  • 1,210
  • 8
  • 20

1 Answers1

1

Yes, you should be able to do exactly the same thing. Angular universal executes ajax calls and wait for components to be rendered before executing.

Like mentionned in the link you provided, you may need to use DomSanitizer if the html contains css

David
  • 33,444
  • 11
  • 80
  • 118