search

Home  >  Q&A  >  body text

jquery - angular angular-ui-router jq How to get the parameters in ui-self

How does angular angular-ui-router jq obtain the parameters in ui-self

滿天的星座滿天的星座2807 days ago848

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-15 17:16:11

    ui-router official website

    Why do you need to use jquery to get it? The parameters on ui-self can be obtained directly using $stateParams of ui-router.
    Since your project uses angularJs, you don’t need jquery. Try to make the project as lightweight as possible.

    reply
    0
  • Cancelreply