Simple command dispatcher service for AngularJS.