andreadicioccio / custom-structural-directive-islogged Goto Github PK
View Code? Open in Web Editor NEWin this Angular demo, by clicking on the buttons, the login and the logout are carried out, if the user is logged in, the username is shown. two custom structural directives are used, * appIsLogged and * appIsNotLogged