Angular-Facebook
An AngularJS module based approach to the Facebook Javascript SDK.
Demo
Install
install with bower
bower install angular-facebook
or download the master.zip
Usage
You first have to declare the facebook
module dependency inside your app module (perhaps inside your app main module).
Then you need to configure the facebook module using the 'FacebookProvider':
angular ;
You can use the isReady
function to get notified when the Facebook SDK is ready
$scope;
Development
Install all dependencies and use gulp to watch the tests
# Install node.js dependencies
npm install
# Install bower components
bower install
# Run karma tests
gulp watch
To run protractor tests you need to install protractor first. (Protractor Setup)
# Prepare the testapp
gulp prepare-testapp
# Run protractor tests
protractor protractor.config.js