committing with angular functionality