Add angularjs compliant templates on entity type definition