Populating the directive purely with the response from a rest request.