reorganized angular files, fixed reload issue when not on index