javascript-ionic $scope isnt updated -


so know there lot of questions area cant still fix it. i'm making app ionic v3 , have issue updating in scopes, have tried everything, put scope in object, parent , still not working. have in controller, , here find problem when console.log doesnt change value , stays in 1, please need help...

function($scope, $stateparams) {

$scope.cosas = $stateparams.bulto;  var arts = $scope.noarticulos = [{     'id': 1,     'label': 1 }]; (var = 2; < 300; i++) {     arts.push({         'id': i,         'label':     }); };  $scope.artis = {     'noarticulo': $scope.noarticulos[0].id };  var art = $scope.artis.noarticulo;  console.log(art); $scope.items = []; (var = 0; < art; i++) {     $scope.items.push(i); }; ... 


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -