I cannot find anyone install the SheetJS to their AngularJS app with dependency injection.
I just found the guy without dependency injection and as a plunker here. But how to import library into AngularJS 1.x app is cannot findable no documents related to Angular-SheetJS or any example on angularJS
here is dependecy injection with 'ui.grid' example: Can anyone help me on this to inject and work with SheetJS dependencies?? Emergency please
angular.module('upload', [ 'ui.grid', 'ui.grid.resizeColumns', 'ui.grid.pagination', 'ui.grid.selection', 'ui.grid.exporter', 'ui.grid.moveColumns', 'ui.grid.pinning']) .controller('uploadCtrl', [ '$scope', '$state', '$stateParams', 'uiGridConstants', '$localStorage', function ($scope, $state, $stateParams, uiGridConstants, $localStorage)
I thinkyour project confige lazy-load and cannot load related services. I suggested extract functions that you need from service And write it all together. something like this :