Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
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
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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.