title: Could not find bootstrapApplication call in apps/product/src/main.ts while adding @angular/material with Nrwl Nx Mfa Workspace
body: <p>I have created a project with the Nx Mfa schema as follows</p>
  <pre><code>npx create-nx-workspace fetebird --preset=empty
  
  npm install --save-dev @nrwl/angular
  
  nx g @nrwl/angular:host host --remotes=product,discount,order
  
  
  nx serve host --open
  </code></pre>
  <p>This works. Now I am trying to add angular material to the MFA applicatins with below commands</p>
  <pre><code>npx nx g @angular/material:ng-add --project=product
  </code></pre>
  <p>or</p>
  <pre><code>npm install @angular/material &amp;&amp; npx nx g @angular/material:ng-add // thows an exception as project name not specified
  </code></pre>
  <p>While specifying the project name, getting an exceptions as</p>
  <pre><code>npx nx g @angular/material:ng-add --project=product
  
  &gt;  NX  Generating @angular/material:ng-add
  
  ✔ Choose a prebuilt theme name, or &quot;custom&quot; for a custom theme: · indigo-pink
  ✔ Set up global Angular Material typography styles? (y/N) · true
  ✔ Include the Angular animations module? · enabled
  ✔ Packages installed successfully.
  SchematicsException [Error]: Could not find bootstrapApplication call in apps/product/src/main.ts
      at addModuleImportToStandaloneBootstrap (/Users/san/project/Sample/fetebird/node_modules/@angular/cdk/schematics/utils/ast/standalone.js:40:15)
      at addAnimationsModuleToStandaloneApp (/Users/san/project/Sample/fetebird/node_modules/@angular/material/schematics/ng-add/setup-project.js:83:67)
      at /Users/san/project/Sample/fetebird/node_modules/@angular/material/schematics/ng-add/setup-project.js:61:17
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
  </code></pre>