       element.parent()[0].scrollTop = monthElement[0].offsetTop
 
   controller: ['$scope', 'ModalService', 'Calendar', '$compile', (scope, ModalService, Calendar, compile) ->
+    # set default value
+    if not scope.mgOptions.checkInString
+      scope.mgOptions.checkInString = 'check in'
+    if !scope.mgOptions.checkOutString
+      scope.mgOptions.checkOutString = 'check out'
+
     scope.weekdays = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT']
     startSelected = false
     # init pension options

          maxdate = scope.restrictions.maxdate
        (mindate? and currentDate < mindate) or (maxdate? and currentDate > maxdate)
      isToday: (day) ->
        #day.toDateString() == new Date().toDateString()
        day.toDateString() == Calendar.getToday().toDateString()
      isStart: (day) ->
        scope.mgStart? and scope.mgStart.getTime() is day.getTime()

      scope.dates = []
      arrayMonths = [];
      for monthStart in months
        arrayMonths.push {monthText:$filter('date')(monthStart, 'yyyy.MM'), weeks:weeksInMonth(monthStart)}
      drawCalendar(arrayMonths);

