angular.module("gameHeader", []) .directive('gameHeader', function() { return { restrict: 'E', replace: true, scope: { slId: '=', game: '=' }, template: '
' + '
' + '
' + '' + '
' + '

{{game.visitors.location}} {{game.visitors.name}}

' + '
' + '
' + '' + '

VS

' + '

{{game.date}}

' + '
' + '
' + '
' + '' + '
' + '

{{game.home.location}} {{game.home.name}}

' + '
' + '
' }; // end of directoive factory })