If you want to keep your template code in a separate html file, you can use the templateUrl property to tell Angular where to find it.