Effects and store v2 are not on npm yet, so download them from my github.
"@ngrx/core": "1.0.0",
"@ngrx/store": "fxck/store#v2-test",
"@ngrx/effects": "fxck/effects",
<div style="padding: 7px"> | |
<sub-component | |
[options]="options$ | async" | |
[param]="routeParam$ | async"> | |
</sub-component> | |
<p *ngIf="version | async" style="color: #333"> | |
Using Angular Material | |
(SHA {{ (version | async)?.commit.message.split(" ")[0] }}) from |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>normalizr playgr</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/typescript/2.1.1/typescript.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/core-js/2.4.1/core.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.41/system.js"></script> | |
<!-- Configure SystemJS --> |
const DESTROY = 'ngOnDestroy'; | |
export function Lifecycle(name?: string): PropertyDecorator { | |
return function(target, prop: string) { | |
const namex = !name ? prop.slice(0, -1) : name; | |
const handler = target[namex]; | |
const onDestroy = target[DESTROY]; | |
if (namex !== DESTROY) { |
/** | |
* PLUNKER VERSION (based on systemjs.config.js in angular.io) | |
* System configuration for Angular 2 samples | |
* Adjust as necessary for your application needs. | |
* Override at the last minute with global.filterSystemConfig (as plunkers do) | |
*/ | |
(function(global) { | |
var ngVer = '@2.0.0-rc.1'; // lock in the angular package version; do not let it float to current! |
/** | |
* PLUNKER VERSION (based on systemjs.config.js in angular.io) | |
* System configuration for Angular 2 samples | |
* Adjust as necessary for your application needs. | |
* Override at the last minute with global.filterSystemConfig (as plunkers do) | |
*/ | |
(function(global) { | |
var ngVer = '@2.0.0-rc.1'; // lock in the angular package version; do not let it float to current! |
/** | |
* PLUNKER VERSION (based on systemjs.config.js in angular.io) | |
* System configuration for Angular 2 samples | |
* Adjust as necessary for your application needs. | |
* Override at the last minute with global.filterSystemConfig (as plunkers do) | |
*/ | |
(function(global) { | |
var ngVer = '@2.0.0-rc.1'; // lock in the angular package version; do not let it float to current! |
/** | |
* PLUNKER VERSION (based on systemjs.config.js in angular.io) | |
* System configuration for Angular 2 samples | |
* Adjust as necessary for your application needs. | |
* Override at the last minute with global.filterSystemConfig (as plunkers do) | |
*/ | |
(function(global) { | |
var ngVer = '@2.0.0-rc.1'; // lock in the angular package version; do not let it float to current! |
/** | |
* PLUNKER VERSION (based on systemjs.config.js in angular.io) | |
* System configuration for Angular 2 samples | |
* Adjust as necessary for your application needs. | |
* Override at the last minute with global.filterSystemConfig (as plunkers do) | |
*/ | |
(function(global) { | |
var ngVer = '@2.0.0-rc.1'; // lock in the angular package version; do not let it float to current! |
/** | |
* PLUNKER VERSION (based on systemjs.config.js in angular.io) | |
* System configuration for Angular 2 samples | |
* Adjust as necessary for your application needs. | |
* Override at the last minute with global.filterSystemConfig (as plunkers do) | |
*/ | |
(function(global) { | |
var ngVer = '@2.0.0-rc.1'; // lock in the angular package version; do not let it float to current! |