Skip to content
This repository was archived by the owner on Nov 30, 2018. It is now read-only.

Commit 77adcf7

Browse files
committed
Fix template data
1 parent 98da40d commit 77adcf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coffee/directives/api/control.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ angular.module("uiGmapgoogle-maps.directives.api")
4444
$http.get(scope.template, { cache: $templateCache })
4545
.then (template) =>
4646
templateScope = scope.$new()
47-
controlDiv.append template
47+
controlDiv.append template.data
4848

4949
# if a controller is defined on the directive then add it to the template
5050
if angular.isDefined scope.controller

0 commit comments

Comments
 (0)