UNPKG

ng-giphy

Version:

An angular module that leverages the [giphy API](https://github.com/Giphy/GiphyAPI) to use it on angular applications

31 lines (27 loc) 726 B
<!DOCTYPE html> <html lang="en" class="no-js"> <head> <style> .center { width: 100%; height: 100vh; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; } </style> </head> <body ng-app="example-app"> <div class="center"> <giphy-find g-tag='["person", "funny"]'></giphy-find> <giphy-id g-id='"qTpK7CsOq6T84"'></giphy-id> <giphy-rand g-tag='"meme"'></giphy-rand> </div> <script src="https://code.angularjs.org/1.4.9/angular.min.js"></script> <script src="dist/ng-giphy.min.js"></script> <script type="text/javascript"> angular.module('example-app', ['ng-giphy']); </script> </body> </html>