Angular Installation
For Angular applications, add the widget code to the index.html file in the src folder of your project.
Installation Code
Copy this code from the Parsewise admin panel:<script>
window.ParsewiseConfig = { shopId: "YOUR_SHOP_ID" };
</script>
<script async src="https://releases.parsewise.ru/widget/latest/widget.iife.js"></script>
index.html Example
Add the widget code to the `<head>` section of your `index.html`:<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My Angular App</title>
<base href="/">
<!-- Parsewise Widget -->
<script>
window.ParsewiseConfig = { shopId: "YOUR_SHOP_ID" };
</script>
<script async src="https://releases.parsewise.ru/widget/latest/widget.iife.js"></script>
</head>
<body>
<app-root></app-root>
</body>
</html>