Can do i use testacular to test web pages that are not not on my localhost? The external app was developed using angularJs

In my test i tried doing

browser().navigateTo('<test app which is not on localhost>');

I cannot verify the url in my test. I get this error :

$location.url()

TypeError: Object [object Object] has no method 'injector'
    at Object.<anonymous> (<localhost path>/angular-scenario.js:25407:30)
Edit
Report