       calendar:
         editable: true
         # timezone: 'local'
+        height: 800
         header:
           left: 'today,prev,next'
           center: 'title'

      $scope.getCompanyPromise().then (company) ->
        params = {company: company}
        AdminPersonService.query(params).then (people) ->
          $scope.people = people
          resources = for p in people
            id: p.id
            title: p.name
          uiCalendarConfig.calendars.resourceCalendar.fullCalendar('refetchEvents')
          callback(resources)

    $scope.updateBooking = (booking, delta) ->
      booking.person_id = booking.resourceId
      booking.start = booking.start.add(delta)
      booking.end = booking.end.add(delta)
      booking = booking.$update()
      booking.resourceId = booking.person_id

    $scope.editBooking = (booking) ->
      ModalForm.edit

          booking.resourceId = booking.person_id
          booking.start = new_booking.start
          booking.end = new_booking.end
          uiCalendarConfig.calendars.resourceCalendar.fullCalendar('updateEvent', booking)

  link = (scope, element, attrs) ->
