In Angular2, let's say I want to conditionally display a <div> block. What's the difference between the following two ways.
<div [hidden]=isLoaded>Hello World!</div>whereisLoadedis a boolean in corresponding.tsfile.<div *ngIf=isLoaded>Hello World!</div>
I do know that even if the <div> is not shown in the page, 1. still has the <div> in the DOM while 2. doesn't. Are there any other differences? What're the pros and cons of each of them?