Fix UI endless load of angular