commit code for AngularJS