Ajay Gandhi
Saturday, 10 September 2016
Angular JS Declare the array
Below way you cab declare the arrays
<
div
ng-app
=""
ng-init
="points=[1,15,19,2,40]"
>
<
p
>
The third result is
{{ points[2] }}
<
/p
>
<
/div
>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment