angularJS commit