Create angular directive