 picker = angular.module('daterangepicker', [])
 
 picker.constant('dateRangePickerConfig',
+  clearLabel: 'Clear'
   locale:
     separator: ' - '
     format: 'YYYY-MM-DD'

    clear = ->
      _picker.setStartDate()
      _picker.setEndDate()
      el.val('')

    _setDatePoint = (setter) ->
      (newValue) ->
        $timeout ->
          if (_picker)
            if not newValue
              clear()
            else
              m = moment(newValue)
              setter(m)

    _setStartDate = _setDatePoint (m) ->
      if (_picker.endDate < m)

        else date.format(opts.locale.format)

      if opts.singleDatePicker
      then f(viewVal.startDate)
      else [f(viewVal.startDate), f(viewVal.endDate)].join(opts.locale.separator)

    _parse = (value) ->
      f = (val) ->
