Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created November 3, 2015 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecademydev/b4dd5474397d7e8b5b85 to your computer and use it in GitHub Desktop.
Save codecademydev/b4dd5474397d7e8b5b85 to your computer and use it in GitHub Desktop.
Codecademy export
<div class="img_container">
<img class="img-responsive" ng-src="{{info.series_img}}" >
</div>
<h2 class="series">{{info.series}} </h2>
<p class="genre">{{info.genre}} </p>
<p class="run-start">{{info.run_start}} </p>
<p class="description">{{info.descirption}} </p>
app.directive('tvShow', function(){
return {
restrict: 'E',
scope: {
info: '=',
},
templateUrl: 'js/directives/tvShow.html'
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment