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