Put status into a directive