resolve injection will cause unpr, how to solve it
Ask and answer your own questions, there are two situations:
Use component to jump to the page. To inject, use bindings:{data: '<'} in the component configuration.
bindings:{data: '<'}
Use template and controller to jump, you cannot write html in ng-controller="xxx"
ng-controller="xxx"
Ask and answer your own questions, there are two situations:
Use component to jump to the page. To inject, use
bindings:{data: '<'}
in the component configuration.Use template and controller to jump, you cannot write html in
ng-controller="xxx"