angular-data-grid / angular-data-grid.github.io

Light and flexible Data Grid for AngularJS applications.
http://angular-data-grid.github.io/demo/bootstrap/
112 stars 50 forks source link

Failed to instantiate module #48

Open RaulMarquezInclan opened 7 years ago

RaulMarquezInclan commented 7 years ago

Hello,

I am getting this error:

Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to: Error: [$injector:modulerr] Failed to instantiate module

image

This is where I import, the above error isn't about not finding the path of the module, I know this because I previously misspelled it which threw the actual path error, so as far a the correct path and folder go it's ok.

image

In the install guide they tell us to add these scripts to index.html:

<script src="bower_components/angular-data-grid/dist/pagination.min.js"></script>
<script src="bower_components/angular-data-grid/dist/dataGrid.min.js"></script>

When it loads these scripts I get this additional error: image So I don't think not including them is an issue (maybe it is?).

The html snippet in the first error image is an index.html file inside de angular-data-grid folder, I not sure why it's trying to read that as the module name.

How can I fix this? Thanks in advance.

cbfx commented 7 years ago

@RaulMarquezInclan this pull request will probably help resolve this issue: https://github.com/angular-data-grid/angular-data-grid.github.io/pull/45