Skip to content

Instantly share code, notes, and snippets.

View lukaville's full-sized avatar
🏠
Working from home

Nick Chameyev lukaville

🏠
Working from home
  • Google
  • London, United Kingdom
View GitHub Profile
@lukaville
lukaville / PersistentRouterOutlet.ts
Last active May 2, 2016 16:58 — forked from danrasmuson/PersistentRouterOutlet.ts
Angular 2 Persistent Router
import * as hookMod from 'angular2/src/router/lifecycle/lifecycle_annotations';
import * as routerMod from 'angular2/src/router/router';
import {isBlank, isPresent} from 'angular2/src/facade/lang';
import {StringMapWrapper} from 'angular2/src/facade/collection';
import {BaseException} from 'angular2/src/facade/exceptions';
import {
DynamicComponentLoader, Directive, provide, ComponentRef, Attribute, ReflectiveInjector,
ViewContainerRef
} from 'angular2/core';
import {