angular-ui/ui-router — pull request #761 by timothyej (2014-01-16 01:34:27+00:00)
Title: feat($state): expose all states through $state

Expose all states through the $state service so other services
could access them. Just as $route do with $route.routes.
Needed by the UserApp module: https://github.com/userapp-io/userapp-angular