string cast Angular JS code example Example: angular int to string var x = 3, toString = x.toString(), toConcat = x + "";