jschain: angular directive and a test (#15)

I built a random-color angular directive with a test on the same page. I started by using plunkr but gave up and used Bower because my connection was unreliable. I learned that angular-mocks is a counterpart to Jasmine in that it exports global variables for convenience. Also, angular-mocks must be loaded after Jasmine. I learned this the hard way.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.