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

1 Answer

0 votes

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";
by
...