{"__v":1,"_id":"57706179d7c6cd1900a57e78","category":{"version":"57706179d7c6cd1900a57e6e","project":"56830b883b87430d00483b3d","_id":"57706179d7c6cd1900a57e70","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-12-29T22:39:05.596Z","from_sync":false,"order":1,"slug":"documentation","title":"Documentation"},"project":"56830b883b87430d00483b3d","user":"56830b4870331a0d00484a77","version":{"__v":1,"_id":"57706179d7c6cd1900a57e6e","project":"56830b883b87430d00483b3d","createdAt":"2016-06-26T23:12:57.873Z","releaseDate":"2016-06-26T23:12:57.873Z","categories":["57706179d7c6cd1900a57e6f","57706179d7c6cd1900a57e70","57706179d7c6cd1900a57e71","57706179d7c6cd1900a57e72","57706179d7c6cd1900a57e73","57706179d7c6cd1900a57e74"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-08T15:50:36.158Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":4,"body":"**Choose your preferred method of installation:**\n\n* [Install via bower](#install-via-bower)\n* [Install via npm](#install-via-npm)\n* [Install via CDN](#install-via-cdn)\n* [Install via downloaded files](#install-via-downloaded-files)\n<br>\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Install via bower\"\n}\n[/block]\n* `bower install apiNG --save`\n* If needed, include angular in your application\n* Include **`aping.min.js`** in your application:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<!-- angular -->\\n<script src=\\\"bower_components/angular/angular.min.js\\\"></script>\\n\\n<!-- apiNG -->\\n<script src=\\\"bower_components/apiNG/dist/aping.min.js\\\"></script>\",\n      \"language\": \"html\"\n    }\n  ]\n}\n[/block]\nAdd the module **`jtt_aping`** as a dependency to your app module:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"angular.module('app', ['jtt_aping']);\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]\n<br>\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Install via npm\"\n}\n[/block]\n* `npm install aping --save`\n* If needed, include angular in your application\n* Include **`aping.min.js`** in your application:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<!-- angular -->\\n<script src=\\\"node_modules/angular/angular.min.js\\\"></script>\\n\\n<!-- apiNG -->\\n<script src=\\\"node_modules/aping/dist/aping.min.js\\\"></script>\",\n      \"language\": \"html\"\n    }\n  ]\n}\n[/block]\nAdd the module **`jtt_aping`** as a dependency to your app module:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"angular.module('app', ['jtt_aping']);\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]\n<br>\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Install via CDN\"\n}\n[/block]\n* If needed, include angular in your application\n* Include **`aping.min.js`** in your application.\n    * Choose between `latest` and `v1.4`: \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<!-- angular -->\\n<script src=\\\"//ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js\\\"></script>\\n\\n<!-- apiNG (latest) -->\\n<script src=\\\"//cdn.jsdelivr.net/aping/latest/aping.min.js\\\"></script>\\n\\n<!-- apiNG (v1.4) -->\\n<script src=\\\"//cdn.jsdelivr.net/aping/1.4/aping.min.js\\\"></script>\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]\nAdd the module **`jtt_aping`** as a dependency to your app module:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"angular.module('app', ['jtt_aping']);\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]\n<br>\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Install via downloaded files\"\n}\n[/block]\n* Download files from github: [apiNG.zip](https://github.com/JohnnyTheTank/apiNG/zipball/master)\n* If needed, download and include ([angular](https://angularjs.org/))\n* Include **`aping.min.js`** in your application:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<!-- angular -->\\n<script src=\\\"angular.min.js\\\"></script>\\n\\n<!-- apiNG -->\\n<script src=\\\"<YOUR_APP>/js/apiNG/aping.min.js\\\"></script>\",\n      \"language\": \"html\"\n    }\n  ]\n}\n[/block]\nAdd the module **`jtt_aping`** as a dependency to your app module:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"angular.module('app', ['jtt_aping']);\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"installation","type":"basic","title":"Installation"}
**Choose your preferred method of installation:** * [Install via bower](#install-via-bower) * [Install via npm](#install-via-npm) * [Install via CDN](#install-via-cdn) * [Install via downloaded files](#install-via-downloaded-files) <br> [block:api-header] { "type": "basic", "title": "Install via bower" } [/block] * `bower install apiNG --save` * If needed, include angular in your application * Include **`aping.min.js`** in your application: [block:code] { "codes": [ { "code": "<!-- angular -->\n<script src=\"bower_components/angular/angular.min.js\"></script>\n\n<!-- apiNG -->\n<script src=\"bower_components/apiNG/dist/aping.min.js\"></script>", "language": "html" } ] } [/block] Add the module **`jtt_aping`** as a dependency to your app module: [block:code] { "codes": [ { "code": "angular.module('app', ['jtt_aping']);", "language": "javascript" } ] } [/block] <br> [block:api-header] { "type": "basic", "title": "Install via npm" } [/block] * `npm install aping --save` * If needed, include angular in your application * Include **`aping.min.js`** in your application: [block:code] { "codes": [ { "code": "<!-- angular -->\n<script src=\"node_modules/angular/angular.min.js\"></script>\n\n<!-- apiNG -->\n<script src=\"node_modules/aping/dist/aping.min.js\"></script>", "language": "html" } ] } [/block] Add the module **`jtt_aping`** as a dependency to your app module: [block:code] { "codes": [ { "code": "angular.module('app', ['jtt_aping']);", "language": "javascript" } ] } [/block] <br> [block:api-header] { "type": "basic", "title": "Install via CDN" } [/block] * If needed, include angular in your application * Include **`aping.min.js`** in your application. * Choose between `latest` and `v1.4`: [block:code] { "codes": [ { "code": "<!-- angular -->\n<script src=\"//ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js\"></script>\n\n<!-- apiNG (latest) -->\n<script src=\"//cdn.jsdelivr.net/aping/latest/aping.min.js\"></script>\n\n<!-- apiNG (v1.4) -->\n<script src=\"//cdn.jsdelivr.net/aping/1.4/aping.min.js\"></script>", "language": "javascript" } ] } [/block] Add the module **`jtt_aping`** as a dependency to your app module: [block:code] { "codes": [ { "code": "angular.module('app', ['jtt_aping']);", "language": "javascript" } ] } [/block] <br> [block:api-header] { "type": "basic", "title": "Install via downloaded files" } [/block] * Download files from github: [apiNG.zip](https://github.com/JohnnyTheTank/apiNG/zipball/master) * If needed, download and include ([angular](https://angularjs.org/)) * Include **`aping.min.js`** in your application: [block:code] { "codes": [ { "code": "<!-- angular -->\n<script src=\"angular.min.js\"></script>\n\n<!-- apiNG -->\n<script src=\"<YOUR_APP>/js/apiNG/aping.min.js\"></script>", "language": "html" } ] } [/block] Add the module **`jtt_aping`** as a dependency to your app module: [block:code] { "codes": [ { "code": "angular.module('app', ['jtt_aping']);", "language": "javascript" } ] } [/block]