mardi 27 juin 2017

Populate Angular Dropdown from Laravel

I have dropdown on my blade template which I would like to populate on page load. I am getting the data from DB using Laravel and this is how the result is returned when I log the output to console. enter image description here

The angular code I have on my page is this, enter image description here

Though the values are returned, my dropdown is still empty. Can someone please assist. enter image description here

Here is my angular controller, enter image description here



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire