According to my interpretation of the documentation, if I want to be able to have an element hidden by default, and shown when a link is clicked, the following ought to work?
- In /app/app.component.ts - newTrustFormVisible: false;
- In /app/app.component.html - <a href="#" (click)="newTrustFormVisible = !newTrustFormVisible;">[Add New]</a> <div ng-show="newTrustFormVisible" class="panel panel-default"> ... </div>
However, this does not work. It also produces no errors. What am I missing?
 
     
    