fix(docs): fix typo 'ngOnit' (#2211)

This commit is contained in:
Suguru Inatomi 2016-08-27 17:58:26 +09:00 committed by Ward Bell
parent e25a1111e0
commit 5fd6ae3099
1 changed files with 2 additions and 2 deletions

View File

@ -379,8 +379,8 @@ figure.image-display
.l-sub-section
:marked
Our first opportunity to access those properties is the `ngOnChanges` method which
Angular calls before `ngOnit`. But Angular calls `ngOnChanges` many times after that.
It only calls `ngOnit` once.
Angular calls before `ngOnInit`. But Angular calls `ngOnChanges` many times after that.
It only calls `ngOnInit` once.
:marked
### OnDestroy