When trying to set the type of an attribute I get the error Cannot find name \'Subscription\'. From which package do I import it from?
Cannot find name \'Subscription\'
import { Comp
You have to import it like this:
import { Subscription } from 'rxjs';
ORIGINAL ANSWER
import { Subscription } from 'rxjs/Subscription';
Take a look here: https://angular.io/docs/ts/latest/guide/router.html and there are several plunker's linked in that documentation.