I need to do something like that
$httpBackend.whenGET('http://url:port/whatever').passThrough();
Till now, all the requests I were using were with this pattern
$httpBackend.whenGET('myroute/whatever.html').passThrough();
However, I suppose I have to use now a regex starting with /regex/ but I have no idea how to caught up urls
Any help would be really appreciated, thanks in advance
I believe you can use regex or a function:
Try this:
or