ng-init with ionic 1 , but how to do with ionic 2and angular
yes , but no Relationship for my problem
Then please describe what you are really trying to achieve, without referencing Angular1 syntax.
ng-init with angular2
you can use ngOnInit() {}
1 Like
How can it be used .please .?
It seems that ng-init is not supported in angular 2, but this seems to be a viable alternative. Haven’t tried it yet myself though.