untested uirouter implementation