Service, Factory, Values, Constant, $http

AngularJS’s Service, Factory, Values, Constant, $http ajax calls,
promises, nodejs Rest service error handling exercised.