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