I'm making a small page that show how the number filter work:
Number: <input type="text" ng-model="nomber"><br/>
fractionSize: <input type="text" ng-model="fractionSize"><br/>
gives: {{ nomber | number:fractionSize }}
If i write a number, it will work, but if I decide to had a nomber in fractionSize, but than remove it, it gives me NaN.
I would like to have a condition in
{{ nomber | number:fractionSize }}
that will tell my condition to not try to use fractionSize if the input is empty.