You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
if you click on the button you'll see that the location is properly updated and $$reset flag is reset to false after the $digest cycle.
if you click the button one more time, the $$reset flag remains set to true after we exit the digest loop. This is because we reset the $$reset flag only if the $location changed during the digest cycle. In this case the second click set location to the current value, so there is no change.
we should add $$reset value to the internal $location watch so that this value is observed and the flag is reset even when the $location doesn't change.
The text was updated successfully, but these errors were encountered:
http://plunker.no.de/edit/G6PORO?live=preview
if you click on the button you'll see that the location is properly updated and $$reset flag is reset to false after the $digest cycle.
if you click the button one more time, the $$reset flag remains set to true after we exit the digest loop. This is because we reset the $$reset flag only if the $location changed during the digest cycle. In this case the second click set location to the current value, so there is no change.
we should add $$reset value to the internal $location watch so that this value is observed and the flag is reset even when the $location doesn't change.
The text was updated successfully, but these errors were encountered: