HTML 5 mode enabled in angular routing, avoid the # in links and also solve the problem of redirecting all the # link to home