angularjs: event form on detail view using event