Side Menu Enable/Disable in script

Hi Guys,

I want to enable/disable Side Menu through scripting. If user is logged in then he can only see/swipe side menu, otherwise he won’t. I am new to angular. Any help would be appreciated.

You could use the ngIf Directive to render the SideMenu only when the user is logged in.