API Creation and beginning AngularJS implementation`