Ionic app - Check if html template file exists

Hello,

I am designing a application where I have different template file for some view and I want to decide view at run time base some condition. Before I assign specific template file, I want to make sure if that file exists on app, if file doesnt exits(in case where user has old version of app), i want to assign some default template.

Is it possible to check if template file filename.html exits in file system?

Thanks

I’m facing the same issue. Did you find a way yo do this ?