edited index page using Angular.js