Sharing Top Content from the Angular-sphere.
Browsing Tag

click event

Creating a Quiz with AngularJS 1.x

We found out that your browser is a little bit old! Unfortunately we are not supporting this browser. Please use one of the browsers below: Chrome Firefox Learn to create an engaging, animated, and interactive…

Highlight selected row in ngFor

Now whenever you click on any row our function setClickedRow(i) will set the value of selectedRow to the index of the row clicked the ngClass argument for that row will evaluate to true and the .active class will be applied for that row.…