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

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

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