We need to put the favicon image in the root folder of project. The favicon image is used to give image to the browser tab and in favorites list..
After adding this image in the root. We may have to add the following line in the index.html page below :
<head>
<link rel="shortcut icon" href="favicon.ico">
</head>