Typeerror Cannot Read Property Commit Of Undefined Angular Javascript

Typeerror Cannot Read Property Commit Of Undefined Angular Javascript