Lightbulb Example

The element that contains the icon "lightbulb", has the directive toggleable , which indicates that it is ready to alternate some class. The class is specified in the activeClass attribute (in this example text-yellow ).

Through the directive ctToggle , the buttons can activate, turn off, or toggle class to the target element (which is indicated by its ID)