Changed the console.log() to use Angular's $logProvider.