Adding in replace for windows paths

When running the ng_template on windows, the windows paths used back slashes '\' instead of forward slashes '/'. Added a replace for the backslashes in the file path that is used when writing the template to the index page.