Use $log instead of console.