Project.js

angular.module('homepage').
factory('Project', function () {
    function Project() {
        this.projectName = null;
        this.jobTitle = null;
        this.startDate = null;
        this.endDate = null;
        this.responsibilities = [{
            value: ''
        }];
    }

    return Project;
});