add http resolution to templateUrl templates