# Category: express

## AngularJS SPA needs to reload to recognize the jwt token in localstorage

how to AngularJS SPA needs to reload to recognize the jwt token in localstorage everything good ? Today I need your help to solve a token authentication problem (jwt) in my SPA AngularJS application (I use NodeJS in the backend). When I log in, the credentials are validated in the backend and if I succeed I get a token that is stored in localstorage. But when I start making my requests to the protected endpoints […]

## load mongo information to my own front-end table

how to load mongo information to my own front-end table I create my table with angular but whem i try i put the information here doesn’t appear and i don’t know why doesn’t have errors but the information but i can see the information and i read the information and the information appear. I put my code down with hope to some one can help me PD: sorry for my bad english. 😀 student-service.ts @Injectable() […]

## Express redirect before Angular app loads

Case When I visit my url https://example.com/ my angular application loads and the url adds the hash-routing to https://example.com/#/. My angular code checks for user credentials from a saml url and doesn’t find anything, so it calls passport login which then takes me to my SAML login page (company hosted) which returns me back to my homepage again with the proper user details. My question is around being able to prevent angular app from loading […]