Moved Angular loading to the place of attaching application