Updated index.html with updateName function from Controllers.js