         $scope.selected_category = $scope.categories[$scope.categories.length - 1]
         $scope.selected_category_name = $scope.selected_category.name
 
-    debugger
-
 
   $scope.changeCategory = (category_name, services) ->
 

  $scope.options.services           = $scope.options.services or 'items'

  $rootScope.connection_started.then ->
    debugger
    if $scope.bb.company.$has('parent') && !$scope.bb.company.$has('company_questions')
      $scope.bb.company.getParentPromise().then (parent) ->
        $scope.company = parent

($scope, $rootScope, $q, $attrs, BBModel, AlertService, CategoryService, FormDataStoreService, $modal) ->

  FormDataStoreService.init 'MultiServiceSelect', $scope, [
    'selected_category_name'
  ]

  $scope.options                    = $scope.$eval($attrs.bbMultiServiceSelect) or {}
