Fix for IE9 "Object doesn't have method or property 'apply'"

console.log.apply causes an exception in IE9.  I switched to using $log instead of console.log, this fixed issues with IE 9 in my project.