-module.exports = 
+module.exports =
   resolve:
     userValidated: ($auth) ->
       $auth.validateUser()

    $scope.uploadPathForGroup = (groupId) ->
      "#{config.apiPrefix}/allocations/upload?group_id=#{groupId}"

    $scope.onCsvUploadSuccess = (groupId) ->
      Records.groups.findOrFetchById(groupId)

    $scope.onCsvUploadCompletion = ->
      Dialog.alert(title: 'upload complete!')


    $scope.viewGroup = (groupId) ->
      $location.path("/groups/#{groupId}")

    return
