Skip to content

Instantly share code, notes, and snippets.

@asicfr
Last active December 14, 2015 02:28
Show Gist options
  • Save asicfr/5013392 to your computer and use it in GitHub Desktop.
Save asicfr/5013392 to your computer and use it in GitHub Desktop.
initialisation forcée
// Force template cache to allow offline for all partials
$http.get('gen/partials/footer.html', {cache:$templateCache});
$http.get('gen/partials/header.html', {cache:$templateCache});
$http.get('partials/inprogress.html', {cache:$templateCache});
$http.get('partials/welcome.html', {cache:$templateCache});
$http.get('gen/pages/author/create.html', {cache:$templateCache});
$http.get('gen/pages/author/edit.html', {cache:$templateCache});
$http.get('gen/pages/author/list.html', {cache:$templateCache});
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment