Created
March 3, 2019 20:32
-
-
Save brandonroberts/856542dcbb29306fc1a9abff56ee3280 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@Component({ | |
selector: 'app-movies-page', | |
template: ` | |
<h1>Movies Page</h1> | |
` | |
}) | |
export class MoviesPageComponent implements OnInit { | |
constructor(private store: Store<fromRoot.State>) {} | |
ngOnInit() { | |
this.store.dispatch({ type: '[Movies Page] Load Movies' }); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment