How can I use ng-options to populate a select element with the results of the "categories" arrays, that are within the objects?
{
title: "Star Wars",
categories: ["Coding", "Exploration", "Adventure"]
}, {
title: "Street Wars",
categories: ["Surfing", "Exploration", "Testing"]
},
I want to populate a select element with all the available categories, and then use "unique" to filter out the duplicate entries...