Alerta Angular

// in your component.ts
Toogle(){
    console.log("toogle ok");
    alert("okkkkk");
  }
// in your component.html
<li><a href="#" class="text-white" (click)="Toogle()">Follow on Twitter</a></li>
  
Mohamed Sami khiari