First, let me say that I'm amazed how logical angular is. I watched
video first, and then went started reading wiki and went through
tutorial at
getangular.com. I was hooked. I had several use cases for
our internal needs, so I started writing REST server for our data that
is available at:
http://github.com/dpavlin/angular-mojolicious
(it's perl code based on mojolicious framework and provides in-memory
REST API, but that's not important).
Then I tried examples which worked on
getangular.com against
angularjs.org checkout on github, and I was at first surprised that
things like ng-entity didn't exists in checkout. Hack, not a problem,
it seemed, there is $resource which will help.
But, after few days, this is the point in which I'm stuck. I can't
find $resouce example which works and uses code with backward
incompatible changes (changing {inject:['$resource']} to {$inject:
['$resource']}) didn't help).
I have working $xhr stub, so I could generate controllers around that,
but $resource seems like a solution for just that problem, so I'm
first asking here.
Everything I saw so far is sufficiently advanced to call it magic :-)