I'm making a screen that has some tabs, I do not have much familiarity with it, so I'm making an example:
<div>
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a></li>
<li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">Profile</a></li>
<li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a></li>
<li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Settings</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="home">teste</div>
<div role="tabpanel" class="tab-pane" id="profile">teste</div>
<div role="tabpanel" class="tab-pane" id="messages">teste</div>
<div role="tabpanel" class="tab-pane" id="settings">teste</div>
</div>
</div>
But it happens that the whole project is done in angular, and we use routes to access the pages, okay ... the screen with the tabs usually opens everything right, however when clicking on a tab to change its content, the site Back to the home page, does anyone know how I can fix this?