angularjs: set up event form (mostly, but its working!)