Abstraction of AngularJS's $routeParams and Angular-UI's $stateParams