angular.js - How to solve angularjs ui-router resolve unpr?
世界只因有你
世界只因有你 2017-06-22 11:53:04
0
1
1105

resolve injection will cause unpr, how to solve it

世界只因有你
世界只因有你

reply all(1)
巴扎黑

Ask and answer your own questions, there are two situations:

  1. Use component to jump to the page. To inject, use bindings:{data: '<'} in the component configuration.

  2. Use template and controller to jump, you cannot write html in ng-controller="xxx"

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template