I added a js file, ui-grid.js and it uses a function uppercase() which is not recognize. All other angular function are working in my project, but when I include the js file, I have this error.
I checked if ui-grid.js is loaded after angular.js and it is.
I really don't understand why
<div id="grid1" ui-grid="main.gridOptions1" class="grid"></div>
to replicate the error. I had to downgrade the angularjs version to 1.6.8 to fix. It looks like the error has been addressed in latest release, i.e. v4.6.3 of UI-grid. see this github.com/angular-ui/ui-grid/pull/6730 . – Quincentenary