Issue
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..
Solution
.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.
Answered By - tymeJV
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.