Ionic2 ngModel not updating value returned from ngOnit() : I have a text box on my page and I assign the value dynamically using ngModel.And in my component, I'm using ngOnint() to call a function that set the ngmodel value. When I run my app the value is not updating in the text box.  