add directives test for angular