-
-
Save arsenetoumani/bf90607a2655f687024b02d3b75379ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var app = angular.module('systelos'); | |
const templates = require.context("../src/app/", true, /.*\.html$/); | |
app.run(function($templateCache) { | |
templates.keys().forEach(template => { | |
$templateCache.put(template.replace("./", "app/"), templates(template)); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment