A simple mileage report tool using angular.js & rails