Can I use backstackVisible in Angular routing?



I am confused with backstackVisible, using of backstackVisible sample found in nativescrpt core, how about using it in Angular? ie - router.navigate or routerExtension.navigate
I am being used to developing with Nativescript + Angular, in my case it have 3 pages, page 1 -> page 2 -> page 3. Page 2 would be closed or removed from stack, if page 3 was displayed. I think clearHistory would help me but It will clear all of the histories, I just want to remove page 2 from stack, only page 1 and page 2 will remain, when user clicks back, page1 shall be seen.



backstackVisible is not yet available for Angular, you may use router guards or customize LocationStrategy.