Use $log.debug instead of console.log

For voryx/angular-wamp#4
Merge pull request #5 from taion/jjia/logging

Use $log.debug instead of console.log