Skip to content

corbel-platform/angular-corbel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

corbel-js wrapper for Angular

Build Status Bower version Dependency Status devDependency Status

Usage

var app = angular.module('myApp', ['angular-corbel']);

// Use corbelProvider to configure the Driver
app.config(function(corbelProvider){
  corbelProvider.setConfig({
    'clientId': 'clientId',
    'clientSecret': 'clientSecret',

    'urlBase': 'http://localhost:8080/{{module}}',

    'scopes': 'scopes'
    });
});


// Inject the corbel driver
app.controller('myCtrl', ['corbel', function(corbel) {
    //use corbel here!
});