How can i call a certain method from the class decorator when some `*ngIf` condition is met. I have a scenario exactly like [this AngularJS](https://stackoverflow.com/questions/23799747/calling-a-method-only-if-ng-if-is-true) question in which ng-init() is used but ng-init is not part of Angular2

```
<div *ngIf="obj.someProperty" callSomeMethod() >
 <!--render inner parts-->
</div>

```