Using state provider for multiple views instead of route provider.