Example showing how to pass commands from AngularJS to the write-side of CQRS