Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015-present Open Networking Foundation |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | import { NgModule } from '@angular/core'; |
| 17 | import { CommonModule } from '@angular/common'; |
| 18 | import { RouterModule, Routes } from '@angular/router'; |
| 19 | import { SvgModule } from '../svg/svg.module'; |
Sean Condon | a00bf38 | 2018-06-23 07:54:01 +0100 | [diff] [blame] | 20 | import { OnosRoutingModule } from '../../onos-routing.module'; |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 21 | |
| 22 | import { NavComponent } from './nav/nav.component'; |
| 23 | import { NavService } from './nav.service'; |
| 24 | |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 25 | /** |
| 26 | * ONOS GUI -- Navigation Module |
| 27 | */ |
| 28 | @NgModule({ |
| 29 | imports: [ |
| 30 | CommonModule, |
Sean Condon | a00bf38 | 2018-06-23 07:54:01 +0100 | [diff] [blame] | 31 | OnosRoutingModule, |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 32 | RouterModule, |
| 33 | SvgModule |
| 34 | ], |
| 35 | declarations: [ |
| 36 | NavComponent |
| 37 | ], |
| 38 | exports: [ |
| 39 | NavComponent |
| 40 | ], |
| 41 | providers: [ |
| 42 | NavService |
| 43 | ] |
| 44 | }) |
| 45 | export class NavModule { } |