Update ng-class logic for span

Signed-off-by: cameronbourke <cameron2295@gmail.com>