         event.preventDefault()
         @addDecision()
     })
-
-  getActualUser: () ->
-    @$log.debug "MeetingNoteCtrl.getActualUser()"
-    @UserControlService.getActualUser()
-    .then(
-      (data) =>
-        @$log.debug "Promise returned #{data.length} ActualUser"
-        @user = data
-        if @meeting.organizer == ""
-          @meeting.organizer = @user.email
-
-        if @meeting.organizer == @user.email
-          @meeting.color = "color-organizer"
-        else
-          @meeting.color = "color-attendee"
-    ,
-    (error) =>
-      @$log.error "Unable to get actual User: #{error}"
-    )
 
   setActivePanel: (panel) ->
     @activePanel = panel

        @$log.error "Unable to get all Users: #{error}"
    )

    @hotkeys.del('t') #TODO: not a nice way
    @hotkeys.add({
      combo: 't',


    @saveButtonText = "Save"
    @activePanel = 1
    @user = {}

    if idParam == undefined
      @initializeNewMeeting()
      @saveButtonText = "Publish"
      @activePanel = 0
    else
      @MeetingService.getMeeting(idParam)
      .then(
        (data) =>
          @$log.debug "Promise returned #{data.length} Meetings"
          @meeting = data
      ,
      (error) =>
        @$log.error "Unable to get Meetings: #{error}"
      )
    @getActualUser()
    @initAvailableUsers()
    @initHotKeys()

  getActualUser: () ->
    @$log.debug "MeetingNoteCtrl.getActualUser()"
    @UserControlService.getActualUser()
    .then(
      (data) =>
        @$log.debug "Promise returned #{data.length} ActualUser"
        @user = data
        if @meeting.organizer == ""
          @meeting.organizer = @user.email

        if @meeting.organizer == @user.email
          @meeting.color = "color-organizer"
        else
          @meeting.color = "color-attendee"
    ,
      (error) =>
        @$log.error "Unable to get actual User: #{error}"
    )

  initAvailableUsers: () ->
    @availableUser = []
    @UserControlService.getAllUsers().then(
      (data) =>
