ng model directive for stoing the dates edit
foundation modal modification to edit events
editing the current calendar events and pushing to the array via eventsFactory
main controller respective changes
fuction added to the events factory to recieve the updated events and push it forward