I got a problem in how an array is formatted, here is my example :
var code = 743919183;
var tempPost = '["'+code+'"]';
$scope.arrayTwo = [];
$scope.arrayTwo.push(code);
when in console :
tempPost will output like this :
["743919183"]
while $scope.arrayTwo, have space before and after doublequotes
[ "743919183" ]
I want to have $scope.ArrayTwo array is formatted just like tempPost, how do i do that?