In Firebase 3.0 together with Angularjs, it seems onAuthStateChanged fires on every route change. Is that expected? <p>I have an app using Firebase and Angularjs. If I put a listener on onAuthStateChanged, it seems to fire every time I navigate to a new url in my site, and the Angularjs Route changes. This seems undesirable/incorrect? Anyone else experience this? E.g. if I do this in a controller:</p> <pre><code> firebase.auth().onAuthStateChanged(function(user) { if (user) { alert("changed"); } }); </code></pre> <p>every time the route changes the alert pops up. </p> <p>Since the logged in state of the user doesn't seem to be changing, why would this listener fire? I think I am missing something. Anyone understand what's going on?</p>