angularjs: event form and list view