commit angular js sample