Firstly, I won't recommed using your Home URL as 'building-no/floor-no/room-no'. You should have a Home URL such as '' and from there you should give the User a option to Click on a Building Number from which he could select a Room.
But if your flow requires that you should define your Home Url as '/building-no/room-no/' then you can define your Home Path as '' and make sure to redirect it to /building-no/room-no and in the path '/building-no/room-no/' you should use RoomNoCOmponent like this:
const appRoutes: Routes =[
{ path: '' , redirectTo: '/building-no/room-no', pathMatch: 'full'},
{ path: 'building-no/room-no', component: RoomNoComponent}
]
For Error handling you could use widlcard symbol i.e. ** and load a ErrorComponent when someone hits this URL:
{ path: '**', component: ErrorComponent}
This way if a User hits a URL other than /building-no/room-no he will get a Error which you will specify in ErrorComponent like OOPPSS!!!! You have hit a Invalid URL, please check the URL and try again!!!