make all - and + buttons update the graph using ngrepeat