Skip to content

Instantly share code, notes, and snippets.

@kobvel
Last active October 8, 2017 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kobvel/b692e669342fae53cdf13e194b7ee7c3 to your computer and use it in GitHub Desktop.
Save kobvel/b692e669342fae53cdf13e194b7ee7c3 to your computer and use it in GitHub Desktop.
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