I think I figured out what went wrong. I used this code as a base for the tutorial:
And it's using PhonecatDetailCtrl as the name instead of PhoneDetailCtrl as in the tutorial. So PhoneDetailCtrl was not exported:
When I do npm run tsc, it actually spells out the problem:
app/js/phone_detail/phone_detail.controller.ts(15,16): error TS2304: Cannot find name 'PhoneDetailCtrl'.