On clicking on one tab i want to make the class tab-active and remove it from the other and vice versa. The HTML code on which I want to implement this is :-
<div class="tab-change-login">
<ul class="un-styled tab-ul">
<li class="tab-active" data-login="signin-area">SIGN IN</li>
<li data-login="signup-area">SIGN UP</li>
</ul>
</div>
How do I write a onClick function to switch between 2 tabs usiing angular2