ng-rap

0.2.3 • Public • Published

安装

  • $ bower install ng-rap

使用

angular.module('myApp', ['ngRap']).config(['$httpProvider', 'ngRapProvider', function(httpProvider, ngRapProvider) {
    ngRapProvider.script = 'http://xxx.xxx.xxx/rap.plugin.js?projectId=nnn'; // replce your host and project id
    ngRapProvider.enable({
        mode: 3
    });
    httpProvider.interceptors.push('rapMockInterceptor');
}]);

Readme

Keywords

none

Package Sidebar

Install

npm i ng-rap

Weekly Downloads

0

Version

0.2.3

License

ISC

Last publish

Collaborators

  • goto100