Last active
October 8, 2017 08:19
-
-
Save kobvel/b692e669342fae53cdf13e194b7ee7c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Routes } from '@angular/router'; | |
import { ProfileComponent } from './profile/profile.component'; | |
import { ProfileResolver } from './profile.resolver'; | |
export const routes: Routes = [ | |
{ | |
path: 'profile', | |
component: ProfileComponent, | |
resolve: { profileData: ProfileResolver } | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment