Add angular map file and remove useless code.