I was going through the angularJs doc and came to know about log, warn, error etc. Now to see the output we need to open the console, so my question are 
if already console.log() is there to see the errors in console, then what is the use of $log, where is the place/scenerio that I must involve the use of $log in my angularJs application.
How can I make use of $log to store information in file about my logging activities.