I'm saving my value in a $ scope:
$scope.quantidadeCasasDecimais = 4
And trying to use this value, but it does not work:
ui-number-mask="{{quantidadeCasasDecimais}}"
Remembering that if I set the parameter statically it works:
ui-number-mask="4"