In my app.js
var variable = {tipo: 2, variables: [20, 35, 50] };
$scope.test = variable;
$scope.test2 = angular.copy(variable);
In my index.html
<input type="number" ng-model="test.tipo" />
<input type="number" ng-model="test2.ti...
asked by
21.03.2017 / 13:36