Skip to content

Instantly share code, notes, and snippets.

@arsenetoumani arsenetoumani/app-templates.js Secret
Created Feb 28, 2019

What would you like to do?
'use strict';
var app = angular.module('systelos');
const templates = require.context("../src/app/", true, /.*\.html$/);$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
You can’t perform that action at this time.