changed the index page to use angular