AngularJS UI-Router URL renaming / beautify ui-sref

For making URLs nicer, it’s possible to write your own beautifier with intercepting the AngularJS ui-router. In my case, I wanted to get rid of the spaces and replace them by dashes.

Register a custom type that transforms the… Continue Reading