Make map input placeholder message useful

This commit is contained in:
summerscope
2014-07-31 12:00:24 +10:00
parent 86c1d010e7
commit 33a177ed47

View File

@@ -3,7 +3,7 @@ Darkswarm.directive 'mapSearch', ($timeout)->
restrict: 'E'
require: '^googleMap'
replace: true
template: '<input id="pac-input"></input>'
template: '<input id="pac-input" placeholder="Type in a location..."></input>'
link: (scope, elem, attrs, ctrl)->
$timeout =>
map = ctrl.getMap()