JavaScript AngularJS Brackets Array -
JavaScript AngularJS Brackets Array -
i doing:
myarray.push(pagecount);
then have like:
$scope.myarray = pages.getallpagecount();
finally when display angularjs (my .html).
{{myarray}}
if have value, display [30]
instance. don't want [
, ]
.
how can delete it?
ps: need have array.
thanks help!
instead of {{myarray}}
, use: {{myarray.join(', ')}}
javascript angularjs
Comments
Post a Comment