Both `$state` and `$stateParams` are typically added to `$rootScope` for convenience