I have the next code:
<ol class="breadcrumb"> <li ng-repeat="ruta in rutas" > <a ng-click="seleccionarDirectorioRuta(ruta)" >{{ruta.nombre}}</a> </li> </ol> the method seleccionarDirectorioRuta:
$scope.seleccionarDirectorioRuta = function(directorio){ alert($scope.rutas.length); $scope.directoriosActuales = []; $scope.rutas.push(directorio); alert($scope.rutas.length); }; In the alerts show 1 and 2 (or n and n+1), but the breadcrumb don't updated.
Any idea?