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

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -