added templateUrl assert