refactor: bootstrap

I refactored the bootstrapping code to not assume that angular is included on the page before this bootstrap. 

This is to make way for #18.