Skip to content Skip to sidebar Skip to footer

Facebook Picture Displayed By Angularjs But Warning Error In Console

I made a angularjs app where i displayed facebook profile picture, like this :

Solution 1:

You're right, since you have dynamic variables inside the src attribute, the problem occurs while the redirection..

Use ng-src instead

For e.g. :

<imgng-src="http://graph.facebook.com/{{comment.from.id}}/picture"/>

Post a Comment for "Facebook Picture Displayed By Angularjs But Warning Error In Console"