[Added selection to the show controller and partial Dino Morelli **20140724200436 Ignore-this: f6e4354beecf55bac5238cde97568e49 ] hunk ./app/css/app.css 18 +.list-group-item.active, +.list-group-item.active:hover { + background-color: black; +} + hunk ./app/partials/shows.html 2 - +
hunk ./app/partials/shows.html 6 - +
hunk ./src/coffee/ShowsController.coffee 8 + $scope.selected = $scope.shows[0] + + $scope.select = (show) -> $scope.selected = show + + $scope.itemClass = (show) -> + if show == $scope.selected then 'active' + else undefined