buildbot/buildbot — pull request #985 by MandarinConLaBarba (2013-11-26 22:43:55+00:00)
Title: Force build modal directive

Goal for this PR is to see if we can structure the code in a way that allows for e2e testing (not true e2e, really just directive or controller code + template). I've stubbed out the call to buildbotService because it's represents the backend and it's not in scope really. I've also 'stubbed' the calls to fetch the templates by using $templateCache + the html2js preprocessor that ships w/ Karma. Later on we may want to consider using nghtml2js to make this a littler cleaner. Problem is I don't see a Grunt plugin for this, so i'm not sure if it will work (may need to create a Grunt plugin).

If this is acceptable, I can add some more coverage (assert that fields of scheduler are present in form, etc) before this PR is merged.