AngularJS "accounting" example