Added angular json protection