Added totals endpoint.
Added totals model to Angular.
Added totals partial.