Hi I have some fields which are coming dynamic and I am adjusting the col-md- according to number of fields. So I wrote an expression some thing like this <div class="col-md-{{12 / variants.length}} Now I want to round off the value. How can I do this ?
How can I round off value in dynamic col-md-(value) in Angular Js?
148 views Asked by Usman Iqbal At
2
In your controller maybe try rounding there instead of on the HTML side?