I have an AppComponent that holds main navigation bar and router outlet for the rest of the application. Now, by convention, this is my starting point of Angular2 application.
I also have routes component which will hold my routes(currently is empty).
What happens is the following: when I start the application, I get an error in console:
EXCEPTION: Error: Uncaught (in promise): Error: Cannot match any routes: ''
I am aware of why is this happening. My question is: is it possible to have an AppComponent as your default route? Or do I have to have a separate component that will hold the initial UI and register it in routes component with an empty(default) path and then inject it into AppComponent?