How can we convert an integer to a string in AngularJs

How can we convert integer to string to AngularJs, for example parseInt() converts string to int . I tried wit $parse , which in itself is the wrong approach. I think ..

+8
angularjs
source share
1 answer

.toString() is available or just add "" to the end of int

 var x = 3, toString = x.toString(), toConcat = x + ""; 

Angular is just JavaScript in the core.

+23
source share

All Articles