This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from 'ng-metadata/core' | |
import { Action } from '@ngrx/store' | |
interface SomePayload { | |
baz: string | |
} | |
/** | |
* Instead of passing around action string constants and manually recreating | |
* action objects at the point of dispatch, we create services encapsulating |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from 'ng-metadata/core'; | |
@Component({ | |
selector: 'my-app', | |
template: '<h1>My First Angular 1 App <small>with ng-metadata!</small></h1>' | |
}) | |
export class AppComponent { } |