skip to Main Content

Facebook api – Angular Controller/Provider setup not exposing variable to front-end

I'm trying to learn Angular by setting up a basic app that uses Facebook's JS API. Here is what I have so far: index.html: <!DOCTYPE html> <html ng-app="app"> <head> <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> <script src="http://connect.facebook.net/en_US/all.js"></script>…

VIEW QUESTION
Back To Top
Search