diff --git a/src/components/radio/test/basic/app/app.component.ts b/src/components/radio/test/basic/app/app.component.ts
new file mode 100644
index 0000000000..af92e1d42e
--- /dev/null
+++ b/src/components/radio/test/basic/app/app.component.ts
@@ -0,0 +1,8 @@
+import { Component } from '@angular/core';
+
+@Component({
+ template: ''
+})
+export class E2EApp {
+ root = 'E2EPage';
+}
diff --git a/src/components/radio/test/basic/app/app.module.ts b/src/components/radio/test/basic/app/app.module.ts
new file mode 100644
index 0000000000..791669231e
--- /dev/null
+++ b/src/components/radio/test/basic/app/app.module.ts
@@ -0,0 +1,24 @@
+import { NgModule } from '@angular/core';
+import { BrowserModule } from '@angular/platform-browser';
+import { IonicApp, IonicModule } from '../../../../..';
+
+import { E2EApp } from './app.component';
+
+@NgModule({
+ declarations: [
+ E2EApp,
+ ],
+ imports: [
+ BrowserModule,
+ IonicModule.forRoot(E2EApp, {}, {
+ links: [
+ { loadChildren: '../pages/main/main.module#E2EPageModule', name: 'E2EPage' },
+ ]
+ })
+ ],
+ bootstrap: [IonicApp],
+ entryComponents: [
+ E2EApp,
+ ]
+})
+export class AppModule {}
diff --git a/src/components/radio/test/basic/main.ts b/src/components/radio/test/basic/app/main.ts
similarity index 100%
rename from src/components/radio/test/basic/main.ts
rename to src/components/radio/test/basic/app/main.ts
diff --git a/src/components/radio/test/basic/main.html b/src/components/radio/test/basic/pages/main/main.html
similarity index 100%
rename from src/components/radio/test/basic/main.html
rename to src/components/radio/test/basic/pages/main/main.html
diff --git a/src/components/radio/test/basic/pages/main/main.module.ts b/src/components/radio/test/basic/pages/main/main.module.ts
new file mode 100644
index 0000000000..1cc785fd59
--- /dev/null
+++ b/src/components/radio/test/basic/pages/main/main.module.ts
@@ -0,0 +1,17 @@
+import { NgModule } from '@angular/core';
+import { DeepLinkModule } from '../../../../../..';
+
+import { E2EPage } from './main';
+
+@NgModule({
+ declarations: [
+ E2EPage,
+ ],
+ imports: [
+ DeepLinkModule.forChild(E2EPage)
+ ],
+ entryComponents: [
+ E2EPage,
+ ]
+})
+export class E2EPageModule {}
diff --git a/src/components/radio/test/basic/app.module.ts b/src/components/radio/test/basic/pages/main/main.ts
similarity index 76%
rename from src/components/radio/test/basic/app.module.ts
rename to src/components/radio/test/basic/pages/main/main.ts
index f732c39b30..cb19144eda 100644
--- a/src/components/radio/test/basic/app.module.ts
+++ b/src/components/radio/test/basic/pages/main/main.ts
@@ -1,8 +1,7 @@
-import { Component, NgModule } from '@angular/core';
-import { BrowserModule } from '@angular/platform-browser';
+import { Component } from '@angular/core';
import { FormControl, FormGroup } from '@angular/forms';
-import { IonicApp, IonicModule, RadioButton, RadioGroup } from '../../../..';
+import { RadioButton, RadioGroup } from '../../../../../..';
@Component({
templateUrl: 'main.html'
@@ -74,27 +73,3 @@ export class E2EPage {
console.log('turtleSelect', radioButton);
}
}
-
-@Component({
- template: ''
-})
-export class E2EApp {
- root = E2EPage;
-}
-
-@NgModule({
- declarations: [
- E2EApp,
- E2EPage
- ],
- imports: [
- BrowserModule,
- IonicModule.forRoot(E2EApp)
- ],
- bootstrap: [IonicApp],
- entryComponents: [
- E2EApp,
- E2EPage
- ]
-})
-export class AppModule {}