0 votes
in Angular by
Can I Set an Angular Directive Template to a HTML Web Page?

1 Answer

0 votes
by

Yes, you can set template to page directly by using templateUrl property of the directive as shown in the code snippet below.

HTML
directive.templateUrl = "/templates/footer.html";

Related questions

0 votes
asked Dec 29, 2023 in Angular by DavidAnderson
0 votes
asked Dec 15, 2023 in Angular by AdilsonLima
...