fix wrong index routes
implementing angular