If I'm reading this correctly, this isn't on `$scope`; it's in `$state`. This is the recommended way to resolve dependencies with UI Router.