for example:
in* phones.json *I deleted all but two phones:
[
{
"age": 0,
"id": "motorola-xoom-with-wi-fi",
"imageUrl": "img/phones/motorola-xoom-with-wi-fi.0.jpg",
"name": "Motorola XOOM\u2122 with Wi-Fi",
"snippet": "The Next, Next Generation\r\n\r\nExperience the future
with Motorola XOOM with Wi-Fi, the world's first
tablet powered by Android 3.0 (Honeycomb)."
},
{
"age": 1,
"id": "motorola-xoom",
"imageUrl": "img/phones/motorola-xoom.0.jpg",
"name": "MOTOROLA XOOM\u2122",
"snippet": "The Next, Next Generation\n\nExperience the future with
MOTOROLA XOOM, the world's first tablet powered by
Android 3.0 (Honeycomb)."
}
]
I run* npm install*, then *npm start*, then go to
*localhost8000/app/index.html* --- and it only shows two phones!
<https://lh3.googleusercontent.com/-RfSzEtH6_WY/U6uw6YdWntI/AAAAAAAACck/wOqx23QDzcg/s1600/phone-list1.png>
then in *phones.json* I add another phone to the list:
[
{
"age": 0,
"id": "motorola-xoom-with-wi-fi",
"imageUrl": "img/phones/motorola-xoom-with-wi-fi.0.jpg",
"name": "Motorola XOOM\u2122 with Wi-Fi",
"snippet": "The Next, Next Generation\r\n\r\nExperience the future
with Motorola XOOM with Wi-Fi, the world's first tablet powered by Android
3.0 (Honeycomb)."
},
{
"age": 1,
"id": "motorola-xoom",
"imageUrl": "img/phones/motorola-xoom.0.jpg",
"name": "MOTOROLA XOOM\u2122",
"snippet": "The Next, Next Generation\n\nExperience the future with
MOTOROLA XOOM, the world's first tablet powered by Android 3.0 (Honeycomb)."
},
{
"age": 2,
"carrier": "AT&T",
"id": "motorola-atrix-4g",
"imageUrl": "img/phones/motorola-atrix-4g.0.jpg",
"name": "MOTOROLA ATRIX\u2122 4G",
"snippet": "MOTOROLA ATRIX 4G the world's most powerful smartphone."
}
]
So now there should be* 3 phones* when I run *npm start*.
However it still shows only *2 phones*:
<https://lh4.googleusercontent.com/--SidCXBvKLE/U6uySXCPPII/AAAAAAAACcw/8A-ZnNp5-KA/s1600/phone-list1.png>
Can someone please explain why the app is not updating the phones. I've
tried so many things.
Thank you very much.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.