angularjs - Create an array using ng-init angular js -


is possible create array using ng-init dynamically? bellow code not working

 ng-init="medi_count = new array(5)" 

angular expression not same javascript expression. has limits.!

no object creation new operator: cannot use new operator in angular expression.

refer angular documentation : angular expression


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -