Fixes angular routing error.