Modified angular controllers to allow remote data retrieval