For my project work I am using the following line to get Input box which is
getting input form Opacity slider.
<input class="shapeItDialogSlideInput" type="opacity" ng-model="opacity"
value="{{opacity | number:0 }}" aria-label="opacity"
aria-controls="opacity-slider">
</div>
Here I am fixing the decimal place of the number to zero. But still in my
output panel I am getting numbers with decimal places.
<https://lh3.googleusercontent.com/-QbSEPZda6aI/VgkXV9d31GI/AAAAAAAAAJM/1-4yxD3UtDo/s1600/opacity.png>
Please note that while inspecting the element I have the original value 14.
But in display I am getting 14.0. Please help me with this issue.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.