title: Getting error while clicking on custom GUI navigation item in ONOS 2.4.0
body: <p>I have a custom GUI app created using <code>onos-create-app</code> cli which uses <code>ui2</code> maven archetype for creating the application.
  The first time I run <code>mvn clean install</code> on it, it threw error:-</p>
  <p><code>Generic type 'FactoryDef' requires 1 type argument(s)</code></p>
  <p>I searched online and found that to fix this I need to upgrade from Angular 9.0 to Angular 9.1. After doing so, <code>mvn clean install</code> generated the <code>oar</code> file which I installed into onos 2.4.0. The installation and it's activation succeeded.</p>
  <p>I could see my custom gui's <code>VIEW_TEXT</code> being displayed in the navigation menu. Once I click on it, the following error comes:-</p>
  <p><code>Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'foo-app-app'</code>.</p>
  <p>The <code>VIEW_ID</code> is <code>foo-app-app</code> in my generated gui app. I am not sure how to solve this. I have downloaded onos 2.4.0 and not built it from source using bazel.</p>