'use client' import { IntegrationGuide } from '@/components/IntegrationGuide' import { CodeBlock } from '@/components/CodeBlock' import { getIntegration } from '@/lib/integrations' import { notFound } from 'next/navigation' export default function AngularIntegrationPage() { const integration = getIntegration('angular') if (!integration) return notFound() return (

Add Pulse to your Angular application by placing the script in your index.html or by using the Angular CLI's built-in scripts array.


Method 1: index.html (Recommended)

Add the Pulse script tag directly to the <head> section of your src/index.html.

{` My Angular App `}

Method 2: angular.json Scripts Array

Alternatively, reference an external script in your angular.json build configuration. However, for analytics scripts that need defer and data-* attributes, Method 1 is simpler and recommended.

Configuration Options

) }