In the example code, clicking an item adds the
selected class to an
<ion-item>. However, the HTML has an inner
<a> tag, which does not change in response to clicks. As a result, the
background-color defined in the CSS is always white.
My expected behavior is that the classes specified in my
ng-class definition would be applied to the whole HTML tree added for my