Simple budget manager in PHP and AngularJS