Skip to content

Instantly share code, notes, and snippets.

@vadimi
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vadimi/89bfa7e29f3d8911150b to your computer and use it in GitHub Desktop.
Save vadimi/89bfa7e29f3d8911150b to your computer and use it in GitHub Desktop.
New AngularJS template bundle
var options = new TemplateCompilerOptions
{
ModuleName = "myapp",
Prefix = "/",
Standalone = true
};
var bundle = new TemplateBundle("~/templates", options)
.Include("~/templates/template1.html", "~/templates/template2.html");
bundles.Add(bundle);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment