angularjs module for manage rest api http requests