AngularJS $httpBackend - “No more request expected” error

前端 未结 2 903
死守一世寂寞
死守一世寂寞 2020-12-31 07:15

It seems this is working solution that shows how to work with $httpBacked http://jsfiddle.net/EgMpe/8/

But for my case:

routes<

2条回答
  •  醉酒成梦
    2020-12-31 07:26

    Ah.. Sorry I just was wrong with my RegEx:

    if type this $httpBackend.whenGET(/partials/).passThrough();

    Then all start working.

    So, I got my lesson: don't forget to put: passThrough(); with right RegEx.

提交回复
热议问题