diff --git a/.pullapprove.yml b/.pullapprove.yml index dae06609d0..0828850b08 100644 --- a/.pullapprove.yml +++ b/.pullapprove.yml @@ -258,7 +258,6 @@ groups: 'aio/content/examples/ngmodules/**', 'aio/content/guide/ngmodule-api.md', 'aio/content/guide/ngmodule-faq.md', - 'aio/content/examples/ngmodule-faq/**', 'aio/content/guide/ngmodule-vs-jsmodule.md', 'aio/content/guide/module-types.md', 'aio/content/guide/template-syntax.md', @@ -901,8 +900,7 @@ groups: 'aio/content/guide/docs-style-guide.md', 'aio/content/examples/docs-style-guide/**', 'aio/content/images/guide/docs-style-guide/**', - 'aio/content/guide/visual-studio-2015.md', - 'aio/content/examples/visual-studio-2015/**' + 'aio/content/guide/visual-studio-2015.md' ]) reviewers: users: diff --git a/aio/content/examples/ngmodule-faq/src/app/app.module.3.ts b/aio/content/examples/ngmodule-faq/src/app/app.module.3.ts deleted file mode 100644 index aace81b56f..0000000000 --- a/aio/content/examples/ngmodule-faq/src/app/app.module.3.ts +++ /dev/null @@ -1,41 +0,0 @@ -// #docplaster -// #docregion -/* Angular Imports */ -import { NgModule } from '@angular/core'; -import { BrowserModule } from '@angular/platform-browser'; - -/* App Imports */ -// #enddocregion -import { AppComponent } from './app.component.3'; -/* -// #docregion -import { AppComponent } from './app.component'; -// #enddocregion -*/ -// #docregion -import { HighlightDirective } from './highlight.directive.1'; -import { TitleComponent } from './title.component.1'; -import { UserService } from './user.service'; - -/* Routing Module */ -// #enddocregion -import { AppRoutingModule } from './app-routing.module.3'; -/* -// #docregion -import { AppRoutingModule } from './app-routing.module'; -// #enddocregion -*/ -// #docregion - -@NgModule({ -// #docregion imports - imports: [ - BrowserModule, - AppRoutingModule - ], -// #enddocregion imports - providers: [ UserService ], - declarations: [ AppComponent, HighlightDirective, TitleComponent ], - bootstrap: [ AppComponent ] -}) -export class AppModule { } diff --git a/aio/content/examples/ngmodule-faq/src/app/highlight.directive.1.ts b/aio/content/examples/ngmodule-faq/src/app/highlight.directive.1.ts deleted file mode 100644 index cf6b75ebfa..0000000000 --- a/aio/content/examples/ngmodule-faq/src/app/highlight.directive.1.ts +++ /dev/null @@ -1,15 +0,0 @@ -// #docplaster -// #docregion -import { Directive, ElementRef } from '@angular/core'; - -// Highlight the host element in gold -@Directive({ selector: '[highlight]' }) -export class HighlightDirective { - constructor(el: ElementRef) { - el.nativeElement.style.backgroundColor = 'gold'; - // #enddocregion - console.log(`* AppRoot highlight called for ${el.nativeElement.tagName}`); - // #docregion - } -} -// #enddocregion diff --git a/aio/content/examples/ngmodule-faq/src/app/title.component.1.html b/aio/content/examples/ngmodule-faq/src/app/title.component.1.html deleted file mode 100644 index fa8989ac6c..0000000000 --- a/aio/content/examples/ngmodule-faq/src/app/title.component.1.html +++ /dev/null @@ -1,10 +0,0 @@ - - -

{{title}}

- - -

- Welcome, {{user}} -

- - diff --git a/aio/content/examples/ngmodule-faq/src/app/title.component.1.ts b/aio/content/examples/ngmodule-faq/src/app/title.component.1.ts deleted file mode 100644 index 39e434e7e6..0000000000 --- a/aio/content/examples/ngmodule-faq/src/app/title.component.1.ts +++ /dev/null @@ -1,23 +0,0 @@ -// #docplaster -// #docregion -// #docregion v1 -import { Component } from '@angular/core'; -// #enddocregion v1 -import { UserService } from './user.service'; -// #docregion v1 - -@Component({ - selector: 'app-title', - templateUrl: './title.component.1.html' -}) -export class TitleComponent { - title = 'Angular Modules'; -// #enddocregion v1 - user = ''; - - constructor(userService: UserService) { - this.user = userService.userName; - } -// #docregion v1 -} -// #enddocregion v1 diff --git a/aio/content/examples/visual-studio-2015/tsconfig.json b/aio/content/examples/visual-studio-2015/tsconfig.json deleted file mode 100644 index e269ae0e3c..0000000000 --- a/aio/content/examples/visual-studio-2015/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "module": "commonjs", - "moduleResolution": "node", - "sourceMap": true, - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "removeComments": false, - "noImplicitAny": true, - "suppressImplicitAnyIndexErrors": true, - "typeRoots": [ - "node_modules/@types" - ] - }, - "compileOnSave": true, - "angularCompilerOptions": { - "enableIvy": false - } -} \ No newline at end of file