query organisation; angular bootstrapping