I\'m new to AnuglarJS and already built a small web-app with it, I would like to use the Facebook JavaScript SDK with it, but using best practices (dependency injecting to contr
I have written this angularjs-facebook service. First you init it on your app module config method to initialize your facebook app id and other settings.
Then you just enjoy calling the Facebook service from Controllers and calling Facebook methods asynchronous just as normal.
https://github.com/ciul/angularjs-facebook