Hi guys, in this lesson we will implement template page with app component. To do it, we will create navigation bar. With this navigation bar, we can navigate to login register and profile page. Also, we can logos from litigation bar if user is not enough to do it, we will create logos method in user template to call logout method from user service. First of all, we should import it All variable we'll be current users. And under created function, we will take current user from user service as observer.
Because user can be changed from login page, so we want to update it reactively. Now we can create our methods. We will call log off method we will navigate to login page so logout now we can create our navigation bar. We will create a bootstrap navigation bar on app component HTML template. First of all, we will create content of it. We will show login and register navigation if current user is not exist otherwise, we will show provide page Good infuser me Finally, we will remove redundant components on their source folders Okay, that's all thank you