Because data does not change in angular

0

I found a free code for a person implementing a crud system.

Why, when I try to modify the visualizations, ie h1 tags and things like that, do they remain the same?

Example:

<th class="mdl-data-table__cell--non-numeric">Salary</th>

Well, I'll change it to:

<th class="mdl-data-table__cell--non-numeric">Salario</th>

When I look at the program he keeps putting salary.

I add info

I do not have any $ scope.Salary, but I give another data I'm using php too, in the controller I have this for the listing part:

myApp.controller('empController', function($route,$scope,$http,$routeParams){
    $scope.getEmployees = function(){
        $http.get('../api/select.php').then(function(response){
            $scope.employees = response.data;
        });
donde data es igual a la consulta que he hecho a la base de datos vamos un select * from employee para que me guarde todos los datos.
    
asked by Peter 28.09.2017 в 00:06
source

1 answer

0

I answer, I had to clean the cache and everything was updated. Thanks to @ OscarGarcia

    
answered by 28.09.2017 / 18:45
source