Error: Uncaught (in promise): TypeError: this.authService.roles.include is not a function
I am implementing role-based access control in my Angular application using guards. Specifically, I want to protect certain routes based on user roles. However, I’m encountering errors in my authentication guard implementation.