fix angular toggle