Added a filter for cancelled events

Added a filter to show and hide cancelled events.
Refactored the code for services.
Moved the code from the controllers inside the directive to the
controllers of the view.