diff --git a/src/pages/developing/angular-tutorial/step-2.mdx b/src/pages/developing/angular-tutorial/step-2.mdx index 1aeb43e8a1c..78ed84b6ed6 100644 --- a/src/pages/developing/angular-tutorial/step-2.mdx +++ b/src/pages/developing/angular-tutorial/step-2.mdx @@ -200,13 +200,13 @@ We'll start adding HTML elements and components by row. In our first row we'll need a `Breadcrumb` component. First, let's import the components we need in `home.module.ts` and `landing-page.component.spec.ts`. -```javascript path=src/app/home/home.module.ts,src/app/home/landing-page/landing-page.component.spec.ts +```javascript path=src/app/home/home.module.ts import { BreadcrumbModule, GridModule } from 'carbon-components-angular'; ``` -```javascript path=src/app/home/home.module.ts,src/app/home/landing-page/landing-page.component.spec.ts +```javascript path=src/app/home/landing-page/landing-page.component.spec.ts imports: [BreadcrumbModule, GridModule]; ``` @@ -232,7 +232,7 @@ In our second row we'll need `Tabs` and `Button` components also in `carbon-components-angular` import to: -```javascript path=src/app/home/home.module.ts,src/app/home/landing-page/landing-page.component.spec.ts +```javascript path=src/app/home/home.module.ts import { BreadcrumbModule, ButtonModule, @@ -242,7 +242,7 @@ import { ``` -```javascript path=src/app/home/home.module.ts,src/app/home/landing-page/landing-page.component.spec.ts +```javascript path=src/app/home/landing-page/landing-page.component.spec.ts imports: [BreadcrumbModule, ButtonModule, GridModule, TabsModule]; ``` @@ -653,12 +653,12 @@ First, we’ll add our grid and table by importing a few components in `repositories.module.ts` and `repo-page.component.spec.ts`: -```javascript path=src/app/repositories/repositories.module.ts,src/app/repositories/repo-page/repo-page.component.spec.ts +```javascript path=src/app/repositories/repositories.module.ts import { GridModule, TableModule } from 'carbon-components-angular'; ``` -```javascript path=src/app/repositories/repositories.module.ts,src/app/repositories/repo-page/repo-page.component.spec.ts +```javascript path=src/app/repositories/repo-page/repo-page.component.spec.ts imports: [GridModule, TableModule]; ```