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

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


    $scope.newGroup = Records.groups.build()

    $scope.openCreateGroupDialog = ->
      Dialog.custom
        scope: $scope
        template: require('./create-group-dialog-content.tmpl.html')
