[AngularJS] Re: When make login and refresh or reload page after login it come back to login page ?

2019-10-30 Thread Sander Elias
Hi Ahmed, You should store the token in localstorage or a cookie or something, and pick that up on app-start Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving

[AngularJS] Re: When make login and refresh or reload page after login it come back to login page ?

2019-10-30 Thread Thang Le Duc
Maybe the token have expired or the auth guard is not working properly, you can check them again. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an

[AngularJS] unit test cases for below snapshot please < Jasmin, Kerma >

2019-10-30 Thread Dev C
ngOnDestroy() : void{ this.destroy$.next(true); } scroller(page:number) { let scroller = document.getElementById("scroll") if(scroller!= null){ scroller.scrollTop=0; } } -- You received this message because you are subscribed to the Google Groups "Angular and

[AngularJS] jasmin kerma unit test cases for scroll and ngdestroy

2019-10-30 Thread Dev C
Hello Can any one help me with below unit test cases. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com.

[AngularJS] When make login and refresh or reload page after login it come back to login page ?

2019-10-30 Thread ahmed elbarbary
on angular 7 When Make login and refresh or reload page after login it come back to login page I work on asp.net MVC project web API work with angular 7 project client side . my problem is when I write user name and password correct on angular 7 it make login success and go to dashboard