added ng-click to selected classes & tidy up comment code