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

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -