Finished server side
Implemented interface with AngularJS