How to use bootstrap toggle buttons in angular application for on and off