Created
February 24, 2021 23:56
-
-
Save andrewarosario/4451461d3de1bab9da52287bf846055c 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
@Component({ | |
selector: 'app-user-detail', | |
templateUrl: './user-detail.component.html', | |
providers: [ ROUTE_ID_PROVIDERS ] | |
}) | |
export class UserDetailComponent { | |
constructor( | |
@Inject(ROUTE_ID) public userId$: Observable<string> | |
) {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment