Angular - Lifecycle Hooks
Given this Angular component code snippet, what will be logged to the console?
```typescript
@Component({ selector: 'app-sample', template: '' })
export class SampleComponent implements OnInit, OnDestroy {
ngOnInit() {
console.log('Init');
}
ngOnDestroy() {
console.log('Destroy');
}
}
```
When the component is created and then destroyed, what is the console output?
