Skip to content

Instantly share code, notes, and snippets.

@alexcastillo
Created January 7, 2015 12:36
Show Gist options
  • Save alexcastillo/0346a7cc7f69e60a2e28 to your computer and use it in GitHub Desktop.
Save alexcastillo/0346a7cc7f69e60a2e28 to your computer and use it in GitHub Desktop.
AngularCSS - Preload
$routeProvider
.when('/page1', {
templateUrl: 'page1/page1.html',
controller: 'page1Ctrl',
css: {
href: 'page1/page1.css',
preload: true
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment