angular2 include external html template

  • 0
  • Pump00:00

Is there a way to include an external html file, I’ve been unable to use templateUrl, it keeps appending the base to the start of the url.

  selector: 'enroll-header',
  templateUrl: ''

it’ll try to find it at "./"

and fail

Default Asked on December 28, 2019 in Programming.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.