edit-in-place: set ng-class inside directive