Yes, you can set template to page directly by using templateUrl property of the directive as shown in the code snippet below.
templateUrl
directive.templateUrl = "/templates/footer.html";