+ ngOnInit () {
+ // Find highlighted comment in params
+ this.sub = this.activatedRoute.params.subscribe(
+ params => {
+ if (params['commentId']) {
+ const highlightedCommentId = +params['commentId']
+ this.processHighlightedComment(highlightedCommentId)
+ }
+ }
+ )
+ }
+