snoyberg/yesod-js — pull request #2 by creichert (2014-06-23 18:19:15+00:00)
Title: Update AngularJS example to work with Yesod 1.2.

Hi Michael,

This example has been incredibly helpful while integrating Yesod and Angular. Because this example is a bit outdated, I decided to have a go at updating the modules. There are still a few minor issues but this could really help anyone who lands here from (or anywhere else): http://www.yesodweb.com/blog/2012/10/yesod-fay-js.

Notes:
* I added the cabal file because I did not have time to update the parent.
* Using runhaskell or adding explicit bounds to the `transformers` package results in a "no instance for MonadTrans" error regarding the lift function being used on AngularT (WriterT). This error goes away with an unbounded dependency on `transformers` in the cabal file. I'm looking further into this issue, any ideas?
* Hardcoding of the angular-route.min.js remote script. Looking for a way to handle this in `urlAngularJs_`.

Nonetheless, I think an update could be very useful for those trying to use Angular with Yesod.

Thanks for all your work!