string to boolean angular code example Example: angular convert boolean to string var myBool: bool = true; var myString: string = String(myBool);