[angularjs] How can we convert an integer to string in AngularJs

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

This question is related to angularjs

The answer is


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

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

Angular is simply JavaScript at the core.