Replace bool with boolean in angular