data moved to json files and retrieved via $http service