Enables user to pass in a custom templateUrl.