Angular + AI visibility (AIO)
llms.txt and AI crawler rules: allow AI search, opt out of training. This page shows exactly what pickstack adds to a Angular project for AI visibility (AIO): the packages, the new files and the changes to existing ones. Every combination is installed, built, linted and tested in CI.
$ npm create pickstack@latest my-app -- --framework angular --modules aio --yesCustomize in the configurator
New files
# my-app > my-app: a web app. ## Pages - [Home](https://example.com/) ## Optional - [Sitemap](https://example.com/sitemap.xml)
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
</url>
</urlset>
Changes to existing files
User-agent: *+Content-Signal: search=yes, ai-input=yes, ai-train=no+Allow: /+ +User-agent: GPTBot+User-agent: ClaudeBot+User-agent: Google-Extended+User-agent: Applebot-Extended+User-agent: meta-externalagent+User-agent: CCBot+User-agent: Bytespider+Disallow: /+ +Sitemap: https://example.com/sitemap.xml−Disallow:
⋯ 1 unchanged lines import { Home } from "./pages/home/home"; export const routes: Routes = [+ { path: "", component: Home, title: "my-app" },− { path: "", component: Home }, { path: "about",+ title: "About | my-app", loadComponent: () => import("./pages/about/about").then((m) => m.About), }, ];⋯ 1 unchanged lines
<section class="page"> <h1 class="title">About</h1>+ <p class="text">Built with Angular 22, TypeScript, SEO, llms.txt.</p>− <p class="text">Built with Angular 22, TypeScript.</p> </section>
⋯ 4 unchanged lines <title>my-app</title> <base href="/" /> <meta name="viewport" content="width=device-width, initial-scale=1" />+ <meta name="description" content="my-app: a web app." />+ <link rel="canonical" href="https://example.com/" />+ <meta property="og:type" content="website" />+ <meta property="og:site_name" content="my-app" />+ <meta property="og:title" content="my-app" />+ <meta property="og:description" content="my-app: a web app." />+ <meta property="og:url" content="https://example.com/" />+ <meta name="twitter:card" content="summary" />+ <script type="application/ld+json">+ {+ "@context": "https://schema.org",+ "@type": "WebSite",+ "name": "my-app",+ "url": "https://example.com/"+ }+ </script> </head> <body> <app-root></app-root>⋯ 3 unchanged lines
Project files
.gitignoreREADME.mdangular.jsonpackage.jsonpublic/llms.txtpublic/robots.txtpublic/sitemap.xmlsrc/app/app.config.tssrc/app/app.htmlsrc/app/app.routes.tssrc/app/app.tssrc/app/components/counter/counter.htmlsrc/app/components/counter/counter.tssrc/app/pages/about/about.htmlsrc/app/pages/about/about.tssrc/app/pages/home/home.htmlsrc/app/pages/home/home.tssrc/index.htmlsrc/main.tssrc/styles.csstsconfig.app.jsontsconfig.json