angular Boostrap can accept the implicit "document" dom object: http://docs.angularjs.org/guide/bootstrap