-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix($urlMatcherFactory): Pre-replace certain param values for better …
…mapping - Some parameter values can generate a non-bidirectional URL. For example, $state.go('foo', { param: null }) can map to the url "/foo/", but that url would match as ('foo', {param: ""}). Allow certain special values to be pre-replaced in Param.value() to support better support bi-directional URL mapping. - Switch squash policy to true/false instead of "squash"/"nosquash" - Allow squash policy to be an arbitrary string, used as a placeholder in the url (this uses the pre-replace feature to map that string to undefined)
- Loading branch information
1 parent
9136fec
commit 6374a3e
Showing
2 changed files
with
111 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters