angularjs slide commit