added angular resource / added commandsController