10/7 Thurs - Angular's @Output
will automatically subscribe to an observable if it's passed directly to it! Because EventEmitter
is a Subject under the hood, it can detect if it's using an observable and will subscribe to it for you. Skips an extra function just to send the value!
10/11 Mon - The if/else syntax in Angular always throws me - the else goes into a ng-template
tag, and the conditions aren't listed in the standard JavaScript way. For future reference:
<div *ngIf="condition; else elseBlock">...</div>
<ng-template #elseBlock>...</ng-template>