import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-protected', template: '
This route is protected!