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
Post a Comment