I have on my controller:
app.controller
//ESTO ME DEVUELVE UN LISTADO DE VARIABLES POR EJM
// [ {name:variable1, valor:2}, {name:variable2, valor:5} ]
$scope.variables = TestService.loadVariable()
This is shown in the view and everything is correct, but in the view I can change the name of the first variable to " variablemodificada1
", if I give f5 it reads " TestService.loadVariable()
", if I already it was called once I do not want it to be called anymore