Set up angular 2 Visual Studio 2015 <p>I have been trying for days to get my project set up correctly. I am going from this post <a href="http://www.mithunvp.com/angular-2-in-asp-net-5-typescript-visual-studio-2015/" rel="nofollow">here</a></p> <p>I have everything working but when I want to put my view in an .html file instead of inline I am having trouble getting the folder structure and html files in the wwwroot folder so I can correctly map my templateUrl's. </p> <p>So my questions are: Is it possible to put the scripts folder and my angular app files inside the wwwroot folder instead of in the root of my project?</p> <p>If not, how do I get gulp to move my compiled .ts files and my folder structure and html to the wwwroot folder?</p> <p>My current folder structure is something like this <a href="http://screencast.com/t/DAk3yEBu0X3b" rel="nofollow">http://screencast.com/t/DAk3yEBu0X3b</a></p> <p>I do not know how to reference my app.html since it does not get moved into wwwroot file.</p> <p>Thanks</p> <p><strong>EDIT:</strong> I am trying to use Steve Sanderson's Template, the one @Mike Mazmanyan suggested. The template is making me even more confused. It looks like its using CommonJS to compile the templates and put them in the script file instead of just referencing them from the server. </p> <p>Is the the preferred way to write angular applications? It seams like if you put your whole application including html in one script file it will take a long time to download.</p> <p>Is it possible to do both? Put some templates in a script file and have some that are just a path to a endpoint? I want to use the server side partial templates like in the <a href="https://ievangelistblog.wordpress.com/2016/01/13/building-an-angular2-spa-with-asp-net-5-mvc-6-web-api-2-and-typescript-1-7-5/" rel="nofollow">post</a></p>