why is here this ng-click? i think it should just change the edit property