I just started with Angular a couple days ago so simple stuff still occasionally gets the best of me. I'm trying to show the current character count of a textarea. I thought surely this should work:
<textarea ng-model="mystring"></textarea>
<br>
<span> {{mystring.length()}} </span>
It doesn't work at all.. But why? And how do I accomplish this?
If I remove ".length()" the content of the textarea is showing up like it should so the binding is obviously working...
EDIT: So it works in chrome etc but not in IE, or more specifically, the embedded browser control in a .Net winform. hooray.