Installation

Choose your preferred method of installation:

Install via bower

  • bower install apiNG --save
  • If needed, include angular in your application
  • Include aping.min.js in your application:
<!-- angular -->
<script src="bower_components/angular/angular.min.js"></script>

<!-- apiNG -->
<script src="bower_components/apiNG/dist/aping.min.js"></script>

Add the module jtt_aping as a dependency to your app module:

angular.module('app', ['jtt_aping']);

Install via npm

  • npm install aping --save
  • If needed, include angular in your application
  • Include aping.min.js in your application:
<!-- angular -->
<script src="node_modules/angular/angular.min.js"></script>

<!-- apiNG -->
<script src="node_modules/aping/dist/aping.min.js"></script>

Add the module jtt_aping as a dependency to your app module:

angular.module('app', ['jtt_aping']);

Install via CDN

  • If needed, include angular in your application
  • Include aping.min.js in your application.
    • Choose between latest and v1.4:
<!-- angular -->
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js"></script>

<!-- apiNG (latest) -->
<script src="//cdn.jsdelivr.net/aping/latest/aping.min.js"></script>

<!-- apiNG (v1.4) -->
<script src="//cdn.jsdelivr.net/aping/1.4/aping.min.js"></script>

Add the module jtt_aping as a dependency to your app module:

angular.module('app', ['jtt_aping']);

Install via downloaded files

  • Download files from github: apiNG.zip
  • If needed, download and include (angular)
  • Include aping.min.js in your application:
<!-- angular -->
<script src="angular.min.js"></script>

<!-- apiNG -->
<script src="<YOUR_APP>/js/apiNG/aping.min.js"></script>

Add the module jtt_aping as a dependency to your app module:

angular.module('app', ['jtt_aping']);

Did this page help you?