Update angular directive snippet and go inline error snippet