Check that index.html is being requested

Hi I have a loading indicator using nprogress. As in the examples I have found I have defined a class like

@noView(['nprogress/nprogress.css'])
export class LoadingIndicator {
  @bindable loading = false;

  loadingChanged(newValue){
    if(newValue){
      nprogress.start();
    }else{
      nprogress.done();
    }
  }
}

from app.html this is called with

<loading-indicator loading.bind="router.isNavigating || api.isRequesting"></loading-indicator>

This works fine but I would like to hide it for the index / root page. Does anyone know how to check if the root / index page is being requested ?

Thanks

To solve this I placed a bindable property in my App class and set it to true in attached().

In app.html I checked this with