In a single-page app, what is the right way to deal with wrong URLs (404 errors)? In a single-page app, what is the right way to deal with wrong URLs (404 errors)? angularjs angularjs