Parameters for states without URLs in ui-router for AngularJS

前端 未结 3 1690
梦谈多话
梦谈多话 2020-12-28 12:31

I am using ui-router to represent states in my AngularJS app. In it I\'d like to change the state without changing the URL (basically a \"detail view\" is updated but this s

3条回答
  •  旧时难觅i
    2020-12-28 13:10

    I now figured out, that you need to use the params: ['id'] property of the state in order to have the key not stripped when not using a URL.

提交回复
热议问题