When my webpage built with angularjs
is launched using https
, all urls within the page should also use https
instead of the default http
.
Is it possible to make angularjs use either http or https based on the initial request?
Here are some example embedded links:
<img href="my.dns.com/rest" />
without specifying http or https. Angularjs typically defaults to using http in this case.