I'm reading the book Angularjs Essentials - http://www.goodreads.com/book/show/23139559-angularjs-essentials
I'm trying to follow the code exmaples.
I have this plunker with the code I have
https://plnkr.co/edit/jFK3ooODMChtXJqO7syf?p=preview
locally in chrome I get the error
Error: ng:areq
Bad Argument
Argument 'parkingCtrl' is not a function, got undefined
I'm sure the problem is syntax in 'angular module' bit at the top of either controller.js, services.js or directive.js
Can anyone see what I'm doing wrong or how the stop this error