angularjs 3.0.6-alpha.0.3
Install from the command line:
Learn more about npm packages
$ npm install @exceptionless/angularjs@3.0.6-alpha.0.3
Install via package.json:
"@exceptionless/angularjs": "3.0.6-alpha.0.3"
About this version
This package provides native JavaScript support for AngularJS applications.
To use this package, your must be using ES6 and support ESM modules.
You can install Exceptionless either in your browser application using a script
tag, or you can use the Node Package Manager (npm) to install the package.
Add the following script tag at the very beginning of your page:
<script type="module" src="https://unpkg.com/@exceptionless/angularjs"></script>
- Install the package by running
npm install @exceptionless/angularjs --save
. - Add the following script tag at the very beginning of your page:
<script type="module" src="node_modules/@exceptionless/angularjs/dist/index.bundle.js"></script>
- Import
exceptionless
angular module like this:angular.module("app", ["exceptionless"])
- Inject
$ExceptionlessClient
and call startup during app startup.
angular
.module("app", ["exceptionless"])
.config(function ($ExceptionlessClient) {
await $ExceptionlessClient.startup((c) => {
c.apiKey = "API_KEY_HERE";
c.defaultTags.push("Example", "JavaScript", "angularjs");
});
});
Once that's done, you can use the Exceptionless client anywhere in your app by
importing $ExceptionlessClient
followed by the method you want to use. For example:
await $ExceptionlessClient.submitLog("Hello world!");
Please see the docs for more information on configuring the client.
If you need help, please contact us via in-app support, open an issue or join our chat on Discord. We’re always here to help if you have any questions!
Details
- angularjs
- exceptionless
- about 1 year ago
- Apache-2.0
- 3 dependencies
Assets
- angularjs-3.0.6-alpha.0.3.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0