#Comprehensive Introduction to @ngrx/store By: @BTroncone
Written version of future egghead.io video series.
port {Directive, Attribute, ElementRef, DynamicComponentLoader} from 'angular2/core'; | |
import {Router, RouterOutlet, ComponentInstruction} from 'angular2/router'; | |
import {AuthService} from '../framework/authentication/authService' | |
import {Login} from './components/login/login'; | |
@Directive({ | |
selector: 'uni-router-outlet', | |
providers: [AuthService] | |
}) | |
export class UniRouterOutlet extends RouterOutlet { |
port {Directive, Attribute, ElementRef, DynamicComponentLoader} from 'angular2/core'; | |
import {Router, RouterOutlet, ComponentInstruction} from 'angular2/router'; | |
import {AuthService} from '../framework/authentication/authService' | |
import {Login} from './components/login/login'; | |
@Directive({ | |
selector: 'uni-router-outlet', | |
providers: [AuthService] | |
}) | |
export class UniRouterOutlet extends RouterOutlet { |
#Comprehensive Introduction to @ngrx/store By: @BTroncone
Written version of future egghead.io video series.
import * as hookMod from 'angular2/src/router/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 {Promise, PromiseWrapper} from 'angular2/src/facade/async'; | |
import {BaseException} from 'angular2/src/facade/exceptions'; | |
import { | |
ElementRef, DynamicComponentLoader, Directive, Injector, provide, ComponentRef, Attribute | |
} from 'angular2/core'; | |
import { |
import * as hookMod from 'angular2/src/router/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 {Promise, PromiseWrapper} from 'angular2/src/facade/async'; | |
import {BaseException} from 'angular2/src/facade/exceptions'; | |
import { | |
ElementRef, DynamicComponentLoader, Directive, Injector, provide, ComponentRef, Attribute | |
} from 'angular2/core'; | |
import { |