Problem related to FB API and AngularJS (number of likes)

Wild_the_SecondWild_the_Second Lithuania
edited March 2016 in JavaScript

Hello, I've got a problem related to FB API, JS and Angular. I've got some part of code in index.html and I wrote another part of code in file called script.js. There should be 2 functions: first - visibility of buton, second - sending and getting data from Facebook (number of likes and name of profil):
http://plnkr.co/edit/G80gClkiLGr9ZxJpN2sp?p=preview
There're no problems with the first, but I have no idea why the second doesn't work. Any ideas? What is wrong?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories