The UrlMatcher object which is used as the template of the URL to generate.
An object of parameter values to fill the matcher's required parameters.
Options object. The options are:
absolute - {boolean=false}, If true will generate an absolute url, e.g. "http://www.example.com/fullurl".Returns the fully compiled URL, or null if params fail validation against urlMatcher
Generated using TypeDoc
function
ui.router.router.$urlRouter#href
ui.router.router.$urlRouter
A URL generation method that returns the compiled URL for a given {@link ui.router.util.type:UrlMatcher
UrlMatcher}, populated with the provided parameters.$bob = $urlRouter.href(new UrlMatcher("/about/:person"), { person: "bob" }); // $bob == "/about/bob";