Usage, populate stateProvider with variables.