fix bugs and add angular for local test = no internet