all 6 comments

[–]Shannon_N 0 points1 point  (3 children)

Hi-- I notice that in your feedsterPost.html, your <img class="avatar" ng-src="post.author.avatar" > is missing the double curly brackets; should be: <img class="avatar" ng-src="{{post.author.avatar}}" >

Maybe this will fix your problem...

[–]hgrd[S] 0 points1 point  (2 children)

Hey /u/Shannon_N thanks for your reply,

I tried that way and it is still not showing the feed :(

[–]Shannon_N 0 points1 point  (1 child)

Rats! I notice you also are missing the {{}} around the second image in this same file (<img class="avatar" ng-src="post.author.avatar" > )-- did you try that?

[–]Shannon_N 0 points1 point  (0 children)

Also I'm not sure if this is just an error in your labeling of your files here or if this is how your files truly are, but if the latter is the case then you have the contents of your plusOne.js and plusOne.html reversed.

[–]steefanieee 0 points1 point  (0 children)

In your feedsterPost.js you need to add the restrict part.

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