search

Home  >  Q&A  >  body text

angular.js - The $stateChangeStart event of angular's ui-router is not triggered. Is there something wrong with the way I write it?

Switching route does not trigger printing 111

某草草某草草2823 days ago638

reply all(2)I'll reply

  • 世界只因有你

    世界只因有你2017-05-15 17:15:34

    Have you registered $rootScope?

    $inject = ['$rootScope'

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-15 17:15:34

    Try to put run after config, I also wrote it like this, you can monitor it

    reply
    0
  • Cancelreply