ngInit
ng
The ngInit
directive specifies initialization tasks to be executed
before the template enters execution mode during bootstrap.
<ANY ng-init="{expression}"> ... </ANY>as class
<ANY class="ng-init: {expression};"> ... </ANY>
Param | Type | Details |
---|---|---|
ngInit | expression | Expression to eval. |