Skip to content

Instantly share code, notes, and snippets.

View jrohatiner's full-sized avatar

JRohatiner jrohatiner

View GitHub Profile
@jrohatiner
jrohatiner / async-ng-module-loader.ts
Created August 29, 2016 23:04 — forked from brandonroberts/async-ng-module-loader.ts
Webpack Async NgModule Loader
import {Injectable, NgModuleFactory, NgModuleFactoryLoader, Compiler, Type} from '@angular/core';
class LoaderCallback {
constructor(public callback) {}
}
export let load: Type = (callback: Function) => {
return new LoaderCallback(callback);
};
@nizaroni
nizaroni / es2015.md
Last active February 8, 2016 19:51
Resources for my talk, The Present and Future of JavaScript: ES2015 and Beyond.