message: fix(router) part5: Proper routing on fragments
diff: @@ -93,14 +93,14 @@ export class AppComponent implements OnInit {
  localStorage.removeItem('query');
  localStorage.removeItem('fragment');
  - if (search) {
  + if (search && search.length) {
  const queryParams = {};
  const urlSearch = new URLSearchParams(search);
  urlSearch.forEach(function(value, key) {
  queryParams[key] = value;
  });
  this.router.navigate([path], { queryParams: queryParams});
  - } else if (fragment) {
  + } else if (fragment && fragment.length) {
  this.router.navigate([path], { fragment: fragment});
  } else {
  this.router.navigate([path]);
  