[AngularJS] Scroll up on ngb pagination page click

2019-10-22 Thread Dev C
Hello there, I have below code where in my angular 6 application (pageChange)= "loadPage($event)" , I am using loadPage method to scroll up in the table as there 10 records in the table and I need to scroll up to the table to top records. below stuff does not work it does not autoscroll up. I am

[AngularJS] Re: Is there any way to interact with AngularJS factory from Angular controller ?

2019-10-22 Thread Sander Elias
Hi Woodson, Yes, if you use Angular update, you can access angularJS services form angular, and the other way arround is also possible. BTW, the best thing you can do is rewrite the service to angular, and then downgrade it so you can also use it from angularJS. Regards Sander -- You

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',