javascript - Displaying JSON Array using AngularJS -
I have this as my .json file and I was wondering how I got my "IP" array to its own. "" "" "" "" Network ":" net 1 "," ip ": [" 192.168.0.1 "," 192.168.0.2 "]," field ":" WiFi "}]
Currently, I have this .html file
/ P>
I want to leave it "[] on my performance. < P>
You must use ng-repeat to iterate on the array
do this
& lt; tr ng-repeat = "zones in view all.zone"> gt; & lt; td & gt; {{zones.zone}} & lt; / td> & lt; td & gt; ; {{Zones.network}} ul> << LD; / TD> {{zones.ipv6}} & gt; Lt; / TR & gt;
Comments
Post a Comment