EDIT : Obviously this is outdated, now you provide your guard at the providers array in an NgModule. Watch other answers or official documentation
providers
you can try import AuthGuard in provider of that module and then import it in the routing component-routing.module.ts file also
@NgModule({ providers: [ AuthGuard ],})