route fix
angular ui changes for optional params
code clean-up