Step 7

I have completed all previous steps, but all i see as a result is two white rectangles with no text or pictures. I looked through the code several times, but can’t seem to find the mistake. I will appreciate any help.


<!doctype html>
    <link href="" rel="stylesheet">
    <link href=",400,700" rel="stylesheet" type="text/css">
    <link href="css/main.css" rel="stylesheet">
    <script src="js/vendor/angular.min.js"></script>
  <body ng-app="FeedsterApp">
    <div class="header">
      <div class="container">
        <div class="row">
          <div class="col-md-2">

    <div class="posts" ng-controller="PostController">
      <div class="container">

        <div class="post" ng-repeat="post in posts">
          <feedster-post post="post"></feedster-post>


    <!-- Modules -->
    <script src="js/app.js"></script>

    <!-- Controllers -->
    <script src="js/controllers/PostController.js"></script>

    <!-- Directives -->
    <script src="js/directives/feedsterPost.js"></script>


var app = angular.module("FeedsterApp", []);


app.controller('PostController', ['$scope', function($scope) {
  $scope.posts = [
      author: {
        name: 'Calvin Broadus, Jr.',
        avatar: 'img/cbj.svg'
      comment: {
        img: 'img/dog.jpg',
        text: 'How much for that dogg in the window?'

      author: {
        name: 'Matthew Healy',
        avatar: 'img/mh.svg'
      comment: {
        text: 'I used to have a recurring dream when I was younger.'


app.directive = ('feedsterPost', function() {
  return {
    restrict: 'E',
    scope: {
      post: '='
    templateUrl: 'js/directives/feedsterPost.html'


<img class="avatar" ng-src="{{ }}">
<h3 class="author-name">{{ }}</h3>
<p class="comment-text">{{ post.comment.text }}</p>
<img class="comment-img" ng-src="{{ post.comment.img }}">

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.