Backand SDK for Angular 1 based on Backand Vanilla SDK
JavaScript HTML
Latest commit e7f3bee Jan 23, 2017 @rannn505 rannn505 bower + vanilla fix
Permalink
Failed to load latest commit information.
dist
example/realtime-todo
src
.gitignore
LICENSE
README.md
bower.json
gulpfile.js
package.json

README.md

angular1-sdk

npm version npm downloads

Backand SDK for Angularjs1. This SDK enables you to communicate comfortably and quickly with your Backand app. It wraps the vanilla-sdk to allow easier work on projects involving Angularjs1.

Installation

  • npm:
$ npm i -S @backand/angular1-sdk
  • yarn:
$ yarn add @backand/angular1-sdk
  • bower:
$ bower install backand-angular1-sdk
  • download/clone:
$ git clone https://github.com/backand/angular1-sdk.git

Import

  • index.html:
<script src="node_modules/@backand/angular1-sdk/backand.provider.min.js"></script>
<script src="backand.provider.min.js"></script>

Quick start

angular
  .module('myApp', ['backand'])
  .config(function (BackandProvider) {
    BackandProvider.init({
      appName: 'APP_NAME',
      anonymousToken: 'ANONYMOUS_TOKEN'
    });
  })
  .controller('myAppCtrl', ['$scope', '$http', 'Backand', function myAppCtrl() {

  }]);

Examples

To view the demo web page, just run npm start - example page.

License

MIT