This is simple angular ng-view and ng-route tutorial to demonstrate single page web app development.
This is executed because of this code.
.when('/',{ templateURl: 'home.html' })
Read tutorial