$state.getConfig() now returns the actual state configuration object.