How do I use ui-number-Mask dynamically

Asked

Viewed 79 times

0

I’m saving my valuables at a $Cope:

$scope.quantidadeCasasDecimais = 4

And trying to use this value, but it doesn’t work:

ui-number-mask="{{quantidadeCasasDecimais}}"

Remembering that if I set the parameter in a static way it works:

ui-number-mask="4"

1 answer

0

  • Explain why taking the key solves the problem, please.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.