define(function() {
    var ProjectsUserController = function($routeParams, ProjectResource) {
        this.projects = ProjectResource.get({
            user: $routeParams.user
        })
    }

    ProjectsUserController.$inject = ['$routeParams', 'ProjectResource']

    return ProjectsUserController
})

define(function() {
    var ProjectsUserController = function($routeParams, ProjectResource) {
        this.projects = ProjectResource.query({
            user: $routeParams.user
        })
    }

    ProjectsUserController.$inject = ['$routeParams', 'ProjectResource']

    return ProjectsUserController
})

Fix resource method to query
Fix resource method to query
