1. Implemented the Angular.js controller to handle rates data.