its good to sometimes take a break. when you have been staring at the same 
code for hours you get cross eyed and miss the simplest things.

On Saturday, April 9, 2016 at 9:48:43 PM UTC-7, Derek Lin wrote:
>
> I think I figured out what went wrong.  I used this code as a base for the 
> tutorial:
>
> https://github.com/teropa/angular-phonecat/blob/d6fb83e1c2db9d1812c7c478fdb8d92301ef0061/app/js/phone_detail/phone_detail.controller.js
>
> 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'.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to