feat(mq): split mq templates into multi templates, and add ui-router support