I'm trying to use angular to create a table of different videos that are organized by topic, date, presenter and also are tagged.
I've used ng-repeat to repeat over my array of objects to produce a table.
However, how can I dynamically change the href link for the play button?
In the jsfiddle below, I've added a static row of what each should look like. the first column has a fontawesome icon that is linked to a video. How can I edit the function so that the href link is updated in the ng-repeat?
http://jsfiddle.net/jheimpel/f139z9zx/3/
function playerCtrl($scope) {
$scope.topics = [
{
"play": "play",
"topic": "topic 1",
"date": "date 1",
"presenter": "presenter 1",
"tags": "tag"
},
{
"play": "play",
"topic": "topic 2",
"date": "date 2",
"presenter": "presenter 2",
"tags": "tag"
},
];
}