Added support to load remote templates via $http.