Angular command map for encapsulating functionality