Skip to content

Commit 282187e

Browse files
Fix template data
1 parent 77adcf7 commit 282187e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coffee/directives/search-box.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ angular.module('uiGmapgoogle-maps')
5151
if not maps.ControlPosition[ctrlPosition]
5252
@$log.error 'searchBox: invalid position property'
5353
return
54-
new SearchBoxParentModel(scope, element, attrs, map, ctrlPosition, $compile(template)(scope))
54+
new SearchBoxParentModel(scope, element, attrs, map, ctrlPosition, $compile(template.data)(scope))
5555
new SearchBox()
5656
]

0 commit comments

Comments
 (0)