function Registration($resource){
this.master = {
person: {
- name: '', surname: '', inst: '', email: '',
+ name: '', surname: '', inst: '', email: ''
},
type: 'participant',
work: {
title: '',
abstract: '',
- authors:[ { name:'', surname:'', inst:'', email:'' } ],
+ authors:[ { name:'', surname:'', inst:'', email:'' } ]
},
- symposium: { organizers: [ {name:'', surname:'', inst:'', email:'' } ], work_nr: 1, },
+ symposium: { organizers: [ {name:'', surname:'', inst:'', email:'' } ], work_nr: 1 }
};
this.Registration = $resource( '/data/conference/Registration/:id', { id:'' } );
this.Symposium = $resource( '/data/conference/Symposium/:id', { id:'' } );
self.last_saved = angular.copy(registration);
});
- },
+ }
};
angular.validator.max_length = function(input, len) {