I recently developed a function for my application that verifies the users' information. I implemented this in my authentication controller within the $rootScope
.
However, I am facing an issue where I need to manually invoke this function in all of my controllers.
I am seeking a solution to automatically trigger this function on every page load.
Appreciate any help!