error You should use the "log" method of the AngularJS Service $log instead of the console object
<p>I am trying on a dummy project and facing this error while using <code>console.log('debug anything');</code> in javascript files. I am using gulp and new to the technology so I couldn't figure out whats happening.</p>

<p>My project is running fine but terminal shows all console.debug() statements as errors. </p>

<p>I tried searching for it and found that <code>.eslintrc</code> file should be modified but that didn't worked. I followed the below link </p>

<p><a href="https://stackoverflow.com/questions/34215526/eslint-how-to-disable-unexpected-console-statement-in-node-js">Eslint: How to disable “unexpected console statement” in Node.js?</a></p>

<p>thanks in advance for any help.</p>