{ name: 'contacts.**', url: '/contacts', loadChildren: './contacts/contacts.module#ContactsModule'}
@NgModule({ imports: [ UIRouterModule.forChild({ states: CONTACTS_STATES }), /* ... and any other modules */ ], declarations: [ ContactComponent, /* ... and any other components */ ], providers: [ ContactsDataService ],})export class ContactsModule { }
{ name: 'contacts', url: '/contacts',
views: {
"content": { component: ContactsComponent,
}
}}