In the following example, the textbox has an associated ngModel binding as well a change function:

```
<input type="text" [(ngModel)] = "typedText" (change)="calculateTextLength()" />

```

In my limited experience, the "calculateTextLength()" function is called only after the input text has been updated in the "typedText" variable.

Can I know if there is a precedence order for these?