So, I have a select view, according to the code below:
<select ng-model="Dashboard.FiltroChamadas.grupoSelecionado">
<option value="" disabled selected>Selecione um grupo</option>
<option ng-repeat="grupo in Dashboard.grupos" value="{{grupo._id}}">{{grupo.nome}}</option>
</select>
In my controller I have the following code:
$(document).ready(function(){
$('ul.tabs').tabs();
$('select').material_select();
});
The problem is that this select is being duplicated. It appears once with the Materialize style and again below with no style whatsoever (pure html). I have tried not to do the initialization as it is there and in the documentation of materialize .. this way the page comes loaded right, however when selecting a select item it is duplicated. I have no idea what's going on ... Help