AngularJS unit testing; how to pass $stateParams into Contoller

后端 未结 0 1340
孤城傲影
孤城傲影 2021-01-28 05:24

Have a look at the following code. This is part of the Spec file:

beforeEach(inject(function (_$compile_, _$templateCache_, _$rootScope_, _$stateParams_, _$httpBa         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题