simplify $rootScope method bindings
fix params bug with improperly encoded uri component