commiting angularJS