How use same Actionbar for all screens in the application in nativescript with angular2?



In my application lot of screens need to be create. But i need to give same Actionbar with title and logout button in application. So including Actionbar in all screens will increase the lines of code. Is there is anyway to code reuse in this situation. I am using page-router-outlet for navigation.

Thanks in advance.