How do I utilize ng-options to fill a select element with the content of the "categories" arrays inside the objects?
{
title: "Star Wars",
categories: ["Technology", "Adventure", "Coding"]
}, {
title: "Street Wars",
categories: ["Gaming", "Travel", "Exploration"]
},
The goal is to populate a select element with all distinct categories and exclude any duplicates using the "unique" filter.