I'm new to Angular and getting used to the basics.
If I have a component that I want to show or hide depending on a variable should I have the *ngIf on the component itself or the contents inside the component.
Eg.1 The Component 'photos' component will load if the variable photos is true
<photos *ngIf="photos"></photos>
Eg.2 Contents of the component The photos component is always there but the contents are loaded
<section class="photos-content" *ngIf="photos">
// content here
</section>