Good afternoon, the template from the local site works in angularjs angularjs

 templateUrl: 'templates/Students.html', 

But if you write from another site, for example

 templateUrl: 'http://Mysite.com/templates/Students.html', то ничего не работает. 

I open "in the forehead" both links, they are the same. The source code is also. What is there to be funny? I do not understand something.

Thank.

    1 answer 1

    I think because the templateUrl parameter processes only relative routes, and http:// does not know how to process, this immediately eliminates the attempts of users to connect the template from another site