added rootscope.fuelcount instead of scope.fuelcount