Hi Mark,

Are you sure it's the second one that gives you a problem? 
In the first one you are injecting nothing, and won't get an injection 
error. However as there will be nothing injected, the controller will error 
out.
the second one is injecting, but apparently you didn't define  the 
AirportService.

Regards
Sander

-- 
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to