Adding a render method to the home-view element.
This method is called by the router after a home-view element is created or updated.