Use $log service properly

Need to call one of the logging functions exposed by the `$log` service.

Even though the example isn't focused on how the `$log` service works, most people reading the document will be new to angular, so they should be exposed to proper use of common services.