A simple mileage report tool using angular.js & rails, round 2