Advertisement
rama_astadipati

app.modules.ts

Apr 15th, 2017
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. import { NgModule, ErrorHandler } from '@angular/core';
  2. import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
  3. import { MyApp } from './app.component';
  4. import { EditRecipePage } from "../pages/edit-recipe/edit-recipe";
  5. import { RecipePage } from "../pages/recipe/recipe";
  6. import { RecipesPage } from "../pages/recipes/recipes";
  7. import { ShoppingListPage } from "../pages/shopping-list/shopping-list";
  8. import { TabsPage } from "../pages/tabs/tabs";
  9. import { ShoppingListService } from "../services/shopping-list";
  10. import { RecipesService } from "../services/recipes";
  11. import { AuthService } from "../services/auth";
  12. import { SigninPage } from "../pages/signin/signin";
  13. import { SignupPage } from "../pages/signup/signup";
  14. import { SLOptionsPage } from "../pages/shopping-list/sl-options/sl-options";
  15.  
  16. @NgModule({
  17. declarations: [
  18. MyApp,
  19. EditRecipePage,
  20. RecipePage,
  21. RecipesPage,
  22. ShoppingListPage,
  23. TabsPage,
  24. SigninPage,
  25. SignupPage,
  26. SLOptionsPage
  27. ],
  28. imports: [
  29. IonicModule.forRoot(MyApp)
  30. ],
  31. bootstrap: [IonicApp],
  32. entryComponents: [
  33. MyApp,
  34. EditRecipePage,
  35. RecipePage,
  36. RecipesPage,
  37. ShoppingListPage,
  38. TabsPage,
  39. SigninPage,
  40. SignupPage,
  41. SLOptionsPage
  42. ],
  43. providers: [
  44. {provide: ErrorHandler, useClass: IonicErrorHandler},
  45. ShoppingListService,
  46. RecipesService,
  47. AuthService
  48. ]
  49. })
  50. export class AppModule {
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement