Use $log.debug instead of console.log

For voryx/angular-wamp#4