refractor: app module and settings (#293)

* Refractor settings component.
* Improve responsiveness of settings component.
* Add comments.

Fixes #292
This commit is contained in:
Abhay Chawla
2018-08-12 15:45:48 +05:30
committed by GitHub
parent 116d05a7d1
commit bf8e6f1273
10 changed files with 159 additions and 57 deletions
+9 -1
View File
@@ -1,7 +1,10 @@
/** Angular Imports */
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
// Fallback when no prior route is matched
/**
* Fallback to this route when no prior route is matched.
*/
const routes: Routes = [
{
path: '**',
@@ -10,6 +13,11 @@ const routes: Routes = [
}
];
/**
* App Routing Module.
*
* Configures the fallback route.
*/
@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule],