Re: [AngularJS] redirect to/render html response received after POST request

2019-10-22 Thread sunil patel
Hi shivani, You can redirect on success response. Like this.router.navigate([redirecturl]); Or Window.location.href = redirecturl; On Tue 22 Oct, 2019, 4:58 PM Shivani Shinde, wrote: > Hi, I am completely new to angular. I need some help in following. > I am uploading a file by calling an api

[AngularJS] redirect to/render html response received after POST request

2019-10-22 Thread Shivani Shinde
Hi, I am completely new to angular. I need some help in following. I am uploading a file by calling an api using POST. $scope.uploadFiles = function () { var request = { method: 'POST', url: 'my-url',