Basic angular form.
Fix bug when getting entity types.