importance of useHash angular routing code example
Example: HashLocationStrategy
// routing
export const routing = RouterModule.forRoot(routes, { useHash: true });
//for enabling production mode, before loading root NgModule,
import { enableProdMode } from '@angular/core';
if (<condition to enable production mode>) {
enableProdMode();
}