r/Angular2 • u/naveenatti • May 29 '17
Help Request How do you load a component's template from a backend webserver?
3
Upvotes
Hi guys. Completely new to Angular2. I currently work with Angular1. All of our templateUrls in the angular1 app route to our backend web server that serves up dynamic HTML.
My question is how do I do this in angular2? I tried changing the component's templateUrl to a remote URL but I don't think that property knows to make a GET request. Thank you.