     ]
 
 
+    $scope.options = $scope.$eval $attrs.bbResourceCalendar
     $scope.options ||= {}
 
     height = if $scope.options.header_height

  {
    controller: controller
    link: link
    scope:
      options: '=?bbResourceCalendar'
    templateUrl: 'resource_calendar_main.html'
  }

    AdminCompanyService, AdminBookingService, AdminPersonService, $q,
    $sessionStorage, ModalForm, BBModel, AdminBookingPopup, $window, $bbug) ->

  controller = ($scope, $attrs) ->

    $scope.eventSources = [
      events: (start, end, timezone, callback) ->
