I want to do a ng-repeat on an array which is composed of two arrays, like this :
[titles: [], links: []]
My arrays (titles and links) ha
It's not clear how you have your data — [titles: [], links: []]
isn't meaningful.
Ideally you would arrange your data as an array of objects that looks like:
var array = [{title: "foo", link: "bar"}, {title…etc]
Then you could just use:
{{obj.title}}, {{obj.link}}
If you know that titles and links will always be the same size you can do this, but it's not very pretty and might be a little fragile:
{{title}}, {{links[$index]}}