get model data from external json file with the use of promises