angular-facebook

AngularJS Directive for responsive Facebook Like Box

Added by: Sam Deering

GitHub

Repository

pocesar/angular-facebook

Stats

Stars: 17

Watchers: 17

Forks: 6

Author

Paulo Cesar
Paulo Cesar

Module Description

AngularJS Directive for responsive Facebook Like Box

DEMO

This Angular module needs jQuery to work, jqlite won't cut it.

Add the 'FB' module to your dependencies, use the directive like:

angular.module('yourApp', ['FB']);

Then your markup will be

<div style="width: 80%;">
  <div fb-page="http://example.com"></div>
</div>

The box will redraw itself if the window is resized, according to the parent. You can set more options using other attributes:

<div style="width: 80%;">
  <div fb-page="http://example.com" fb-height="800" fb-faces="true" fb-posts="true" fb-hide="true"></div>
</div>

Module stats last updated: 2017-07-08 16:00:05

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!