angular directive fix