dynamic reference for ui.router