Switch to html5mode for pretty URLs