Making the loading of the javascript follow the angular best practices. This will avoid a flash of uncompiled code at loading while still loading the html first.
Adding the board controller.