Make ng directive validate