AngularJS directive for embedding Github gists.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples/simple-demo
.gitignore
Gruntfile.js
README.md
angular-gist.js
angular-gist.min.js
bower.json
package.json

README.md

angular-gist

AngularJS directive for embedding Github gists.

Demo

Please have a look at the demo for a live example.

It embeds this public gist.

Install

Bower

bower install angular-gist --save

NPM

npm install angular-gist --save

Usage

Inject module

angular.module('myApp', ['gist']);

Use as directive

<gist id="1234556"></gist>

Options

id - Gist ID