Manage the post request with Guzzle and angularjs