Abu Sufyan
Abu Sufyan

Reputation: 307

agGrid AngularJS 1.x examples are not working

During evaluation of agGrid by using AngularJS. I've found that on agGrid Documentation examples of AngularJS are not working. I've found exception on Internet Explorer console:

Failed to instantiate module agGrid due to: Error: [$injector:nomod] Module 'agGrid' is not available!

Can anybody fix that example, so we can explore this control thoroughly?

Upvotes: 3

Views: 594

Answers (1)

Julian
Julian

Reputation: 65

Just use

agGrid.initialiseAgGridWithAngular1(angular); 

before you initialize your module

var module = angular.module("example", ["agGrid"]);

Source

Upvotes: 1

Related Questions