Command pattern implementation for angular. Command used to encapsulate information which is needed to perform an action.