import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { TodoComponent } from './todo.component';

import { FirstUpperPipe } from '../../shared/pipes/first-upper.pipe';

import { DoNothingDirective } from '../../shared/directives/do-nothing.directive';

/**
 * @ignore
 */
const COMPONENTS = [TodoComponent];

const PIPES_AND_DIRECTIVES = [FirstUpperPipe, DoNothingDirective];

/**
 * The todo module
 *
 * Contains the {@link TodoComponent}
 */
@NgModule({
    imports: [BrowserModule],
    declarations: [TodoComponent, PIPES_AND_DIRECTIVES],
    exports: [TodoComponent]
})
export class TodoModule {}

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { TodoComponent } from './todo.component';

import { FirstUpperPipe } from '../../shared/pipes/first-upper.pipe';

import { DoNothingDirective } from '../../shared/directives/do-nothing.directive';

/**
 * @ignore
 */
const COMPONENTS = [
    TodoComponent
];

/**
 * @ignore
 */
const PIPES_AND_DIRECTIVES = [
    FirstUpperPipe,
    DoNothingDirective
];

/**
 * The todo module
 *
 * Contains the {@link TodoComponent}
 */
@NgModule({
    imports: [
        BrowserModule
    ],
    declarations: [
        TodoComponent,
        PIPES_AND_DIRECTIVES
    ],
    exports: [TodoComponent]
})
export class TodoModule { }

--- 
+++ 
@@ -10,17 +10,9 @@
 /**
  * @ignore
  */
-const COMPONENTS = [
-    TodoComponent
-];
+const COMPONENTS = [TodoComponent];
 
-/**
- * @ignore
- */
-const PIPES_AND_DIRECTIVES = [
-    FirstUpperPipe,
-    DoNothingDirective
-];
+const PIPES_AND_DIRECTIVES = [FirstUpperPipe, DoNothingDirective];
 
 /**
  * The todo module
@@ -28,13 +20,8 @@
  * Contains the {@link TodoComponent}
  */
 @NgModule({
-    imports: [
-        BrowserModule
-    ],
-    declarations: [
-        TodoComponent,
-        PIPES_AND_DIRECTIVES
-    ],
+    imports: [BrowserModule],
+    declarations: [TodoComponent, PIPES_AND_DIRECTIVES],
     exports: [TodoComponent]
 })
-export class TodoModule { }
+export class TodoModule {}
Fix for new menu design
