Fix for ng-app called ng=app in diagram image. Issue #6473