
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
angular-cc-appinsights
Advanced tools
An AngularJS module for integrating Microsoft's Application Insights within a SPA
An AngularJS module for integrating Microsoft's Application Insights within a SPA
npm install angular-cc-appinsights --save
> git clone https://github.com/christianacca/angular-cc-appinsights.git
> cd angular-cc-appinsights
> npm install
> npm run tsc
> npm run uglify
The compiled angular-cc-appinsights
library will be in the dist/ folder.
<script src="path/to/app-insights/ai.0.js"></script>
Note: you will find the latest version of the SDK in the dist folder of the official github repo
var snippet = {
config: {
instrumentationKey: "YOUR_KEY_HERE"
}
};
var init = new Microsoft.ApplicationInsights.Initialization(snippet);
var appInsights = init.loadAppInsights();
cc-appinsights
javascript: <script src="path/to/angular-cc-appinsights.min.js"></script>
cc-appinsights
:angular.module('myApp', ['cc-appinsights']);
ccAppInsightsProvider
:JS
angular.module('myApp').config(configWithAppInsigths);
configWithAppInsigths.$inject = ['ccAppInsightsProvider'];
function configWithAppInsigths(appInsightsProvider) {
appInsightsProvider.configure();
}
Typescript
/// <reference path="path/to/angular-cc-appinsights.d.ts" />
angular.module('myApp').config(configWithAppInsigths);
configWithAppInsigths.$inject = ['ccAppInsightsProvider'];
function configWithAppInsigths(appInsightsProvider: cc.appinsights.AppInsightsProvider) {
appInsightsProvider.configure();
}
See api-reference.md
FAQs
An AngularJS module for integrating Microsoft's Application Insights within a SPA
The npm package angular-cc-appinsights receives a total of 2 weekly downloads. As such, angular-cc-appinsights popularity was classified as not popular.
We found that angular-cc-appinsights demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.