Made a Dialog base class for dialog directives.
Added slide-dialog and dialog.

Added images and messages services.

Improved code in entries list controller and main controller.