I have an Angular 1.5 app that calls a PHP web service via $http.post(). I am trying to set a cookie in the PHP service but have been unsuccessful so far. setcookie() returns TRUE but I don't see this cookie in Chrome. If I hit the service directly in the browser, it sets the cookie just fine. Any help is welcome... Thanks
login: function (data, success, error) {
$http.post(urls.BASE_API + '/login', data, {withCredentials: true}).success(success).error(error);
}