using Ngclass with obervables

Im wondering what is best practice when observables for authentication. I havesections of my code where different code needs to be rendered if the user is logged in og not. Currently im using "*ngIf="accountService.currentUser$ | async" everytime i need to differentiate the code based on logged in status. Is fine to use "*ngIf="accountService.currentUser$ | async" […]

By Glacierdk
Categorized as angular, ng-class, observable Tagged , ,

Angular – Different template structure on specific page

I’m all new to Angular, and im currently trying to build a frontend, while learning to use Angular. I have build a test-app where i am implementing authentication using an API i have writting. The authentication works fine, however i an strugling wrapping my head around how to implement a specific functionallity. Almost all of […]

By Glacierdk
Categorized as angular, authentication, css, user-interface Tagged , , ,

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us