<!DOCTYPE html> <html lang="es" ng-app="app"> <head> //... <script src="https://cdn.syncfusion.com/15.1.0.41/js/web/ej.web.all.min.js"></script> <!--Add custom scripts here --> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.3/angular.min.js"></script> <script src="https://cdn.syncfusion.com/15.1.0.41/js/common/ej.widget.angular.min.js"></script> <!-- Angular App--> <script src="app.js"></script> </head> <body ng-controller="AppCtrl" > //... <div id="Spreadsheet" ej-spreadsheet e-scrollsettings-height="600" e-sheets = "sheetData" e-loadComplete="loadComplete" > </div> //... </body> </html> |
angular.module('app', ['ejangular']) .controller('AppCtrl', function ($scope ) { //... }); //... |