Defined state objects outside of $stateProvider