I followed this article in the way to create my first Open Web Application for OpenMRS with Yeoman. The process with Yeoman was successful and I was able to build the zip file. After uploading it into OpenMRS via OWA module Interface, I got this error in the screenshot.
I have been able to fix the issue by following the solution available here. Then I changed the Angular version to “1.6.1” without “^” and used “1.5.5” for “angular-sanitize”. Thank you to @chriscallan for your post.