elmarburke/hoodie-plugin-angularjs — pull request #29 by ajoslin (2014-05-17 15:04:39+00:00)
Title: refactor(hoodieStore): add tests, more clarity

I wanted to add some unit tests for the hoodieStore refactor, and I also want to propose a different approach.

I think it's better to be explicit with which methods and properties to copy, so that only what is needed is copied over.

I wasn't sure what to do with the $rootScope.$emits, so I left them as is for now.

Let me know if anything else needs to be changed.

If we open lots of small PRs that only change one specific aspect, it will be a lot easier to merge the refactor.