a sample app to access a json currency conversion api using angularjs