Initial commit of Chapter 18.
Added log service to controller and directive.
Implemented log service as provider.