Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • <a href>{{category.category}}</a> Commented Nov 2, 2014 at 16:51
  • Thank you Toress, unfortunately this causes my html page to display a blank drop down menu that spans the full length of the page. My JSON data has completely disappeared from it for some reason Commented Nov 2, 2014 at 16:54
  • 2
    Are you sure the get responds a JSON object and not a string? Try $scope.categories = JSON.parse(data); Commented Nov 2, 2014 at 16:55
  • Thank you Hatsjoem, unfortunately doing that makes my drop down menu go blank, so I think I am getting JSON data since my drop down menu displays each character from my JSON output above row by row. Commented Nov 2, 2014 at 17:04
  • I believe your server doesn't return a JSON object though... Commented Nov 2, 2014 at 17:16