angularjs directive warning post