Use templateUrl for background layer directive