Converted client-side to angular
- Changed content-type for api to accept json instead of forms