Currently, I am facing a challenge in using multiple controllers on one page for a website I am developing with Bootstrap and Angular. The layout consists of a top navbar (served as index html from Flask), and a content div containing ng-view where controllers are loaded via Angular $routeProvider. Within the navbar, there is a user icon and a "logout" button that need to update once a controller calls an API to log the user in. How can I achieve this without relying on redirects from the backend? It seems like rendering the navbar with another Angular controller might be a solution, but how do I establish communication between these components? Is there a mediator API available for this purpose? I came across a method involving ng-switch and ng-include which appears overly complex, and I prefer using Jinja2 inheritance in such scenarios. Can anyone guide me to a suitable manual outlining the process of building this setup using multiple views and routing?