UI Router conditional ui views?

后端 未结 9 1172
遥遥无期
遥遥无期 2021-01-30 21:23

I can\'t figure out a reasonable way, which doesn\'t feel like a hack, to solve this rather trivial problem.

I want a guest to see a splash page when they access the ind

9条回答
  •  孤独总比滥情好
    2021-01-30 21:50

    In my case, if two states can share logic of same controller, conditional template is a good choice. Otherwise, creating separate states is a good option.

提交回复
热议问题