REST API is working correctly now
Repeat commit
Now the REST API and Angularjs front-end has been wired up