I am trying to get the ng-change event to update a function I wrote by doing this. For now, the function only logs "I am here" to the console. I am implementing it like this:
<input type="number" ng-minlength="1" ng-maxlength="3" min="5" max="100" class="form-control" name="percentOwnership" (ng-change)="fullyOwned()" [(ngModel)]="individualowner.percentOwnership">
I have tried to take off the one-way binding parens and also adding the two-way binding parens and brackets, but nothing fires my function to log "I am here" to the console.
I have also tried these combinations by using "change" and "ngModelChange". Still, nothing fires my function. I am using Angular 5.2.9