Tip calculator and bill splitter built in Angular.js