Make variable 'states' as '$states' public in $stateProvider