Angular module for interacting with the public Climb.social API
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
example
src
test/unit
.gitignore
CHANGELOG.md
CONTRIBUTING.md
Gruntfile.js
LICENSE
README.md
bower.json
karma.conf.js
package.json

README.md

angular-climb

Reusable module for interacting the climb.social public API.

Dependencies

Angular, obviously, but that's it.

Installation

Via NPM:

$ npm install angular-climb --save

Or bower:

$ bower install angular-climb --save

Usage

Configure your Climb feed in the Climb admin UI. Note the feedId.

Add the module to your app dependencies:

var angular = require('angular');

angular.module('myApp', [
  require('angular-climb')
]);

Use the service whenever you want it:

function controller(Climb) {
    var vm = this;
    
    var FEED_ID = '7216e32607f244179f5c51350a2ee2c8';
    Climb.getFeed(FEED_ID).then(function(items) {
        vm.social = items;
    });
    
}

Example

See the climb demo in this repo for an example of how to use.

Running tests

Download the project dependencies:

$ bower install
$ npm install

Then run with grunt:

$ grunt karma:unit

References

Docs 100 Shapes Climb.social