a bit of refactoring on retrieving data from Facebook
now making an array of objects called cityData which is being rendered on showCities page. Also renamed templates and controller to listCities instead of showFlights.
sorting on cities page is now working
Implemented promises to prevent list of cities from resolving with an empty page