Angular - Components
Which of the following is the correct way to specify the HTML template inline in a component decorator?
template is for inline HTML, templateUrl is for external file path.template: 'Hello
' is valid for inline HTML.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions