Does this code even work?
The $s in BaseController seem to come from no where, I believe Angular will inject $scope as first parameter to the constructor, however, in the sample code, it seems to indicate that its pattern.
For a good angular+coffeescript scaffold code with basic OO, I recommend take a look at https://github.com/CaryLandholt/AngularFun
4 comments
[ 4.2 ms ] story [ 19.8 ms ] thread