Skip to content

fsieduc/ng-mtab-api

 
 

Repository files navigation

EduClever Angular 1.x MTAB API

Getting Started

Install the library through bower.

bower install --save educlever/ng-mtab-api

Include the scripts in your html file.

<script src="bower_components/ng-storage/ng-storage.min.js"></script>
<script src="bower_components/ng-jsonrpc/ng-jsonrpc.min.js"></script>
<script src="bower_components/ng-mtab-api/ng-mtab-api.min.js"></script>

Include the style in your html file.

<link rel="stylesheet" href="bower_components/ng-mtab-api/opd.css" type="text/css"/>

Add it to your module's dependencies.

angular.module('myapp', [
    'educ.ngStorage',
    'educ.ngJsonRpc',
    'educ.ngMtabApi'
]);

Configure the service

angular.module('myapp').config(['MtabApiProvider', function(MtabApiProvider) {
    MtabApiProvider.setPersistent(true);
    MtabApiProvider.useCache(true);
    MtabApiProvider.setMainUrl("http://www.maxicours.com/W/rpc/mobilite/mtab.php");
    MtabApiProvider.setEidUrl("http://www.maxicours.com/_eid.php");
});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.1%
  • CSS 19.0%
  • HTML 17.9%