Had trouble getting the `ng-class` to work with the peculiar (read: wrong) way I'm creating the css class, but have done the rest.