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 was archived by the owner on Apr 12, 2024. It is now read-only.
When you want to change the `$location` from outside Angular (for example, through a DOM Event or
490
492
during testing) - you must call `$apply` to propagate the changes.
491
493
@@ -618,7 +620,7 @@ then uses the information it obtains to compose hashbang URLs (such as
618
620
619
621
The Angular's compiler currently does not support two-way binding for methods (see [issue](https://github.com/angular/angular.js/issues/404)). If you should require two-way binding
620
622
to the $location object (using {@link input[text] ngModel} directive on an input
621
-
field), you will need to specify an extra model property (e.g. `locationPath`) with two watchers
623
+
field), you will need to specify an extra model property (e.g. `locationPath`) with two {@link ng.$rootScope.Scope#$watch $watchers}
622
624
which push $location updates in both directions. For example:
0 commit comments