|
33 | 33 | });
|
34 | 34 |
|
35 | 35 |
|
36 |
| - module.factory('uiGridCellNavFactory', ['gridUtil', 'uiGridConstants', 'uiGridCellNavConstants', 'GridRowColumn', '$q', |
37 |
| - function (gridUtil, uiGridConstants, uiGridCellNavConstants, GridRowColumn, $q) { |
| 36 | + module.factory('uiGridCellNavFactory', ['uiGridCellNavConstants', 'GridRowColumn', |
| 37 | + function (uiGridCellNavConstants, GridRowColumn) { |
38 | 38 | /**
|
39 | 39 | * @ngdoc object
|
40 | 40 | * @name ui.grid.cellNav.object:CellNav
|
|
262 | 262 | * @description Services for cell navigation features. If you don't like the key maps we use,
|
263 | 263 | * or the direction cells navigation, override with a service decorator (see angular docs)
|
264 | 264 | */
|
265 |
| - module.service('uiGridCellNavService', ['gridUtil', 'uiGridConstants', 'uiGridCellNavConstants', '$q', 'uiGridCellNavFactory', 'GridRowColumn', 'ScrollEvent', |
266 |
| - function (gridUtil, uiGridConstants, uiGridCellNavConstants, $q, UiGridCellNav, GridRowColumn, ScrollEvent) { |
| 265 | + module.service('uiGridCellNavService', ['uiGridConstants', 'uiGridCellNavConstants', '$q', 'uiGridCellNavFactory', |
| 266 | + function (uiGridConstants, uiGridCellNavConstants, $q, UiGridCellNav) { |
267 | 267 |
|
268 | 268 | var service = {
|
269 | 269 |
|
|
622 | 622 | </file>
|
623 | 623 | </example>
|
624 | 624 | */
|
625 |
| - module.directive('uiGridCellnav', ['gridUtil', 'uiGridCellNavService', 'uiGridCellNavConstants', 'uiGridConstants', 'GridRowColumn', '$timeout', '$compile', 'i18nService', |
626 |
| - function (gridUtil, uiGridCellNavService, uiGridCellNavConstants, uiGridConstants, GridRowColumn, $timeout, $compile, i18nService) { |
| 625 | + module.directive('uiGridCellnav', ['uiGridCellNavService', 'uiGridCellNavConstants', 'uiGridConstants', 'GridRowColumn', '$compile', 'i18nService', |
| 626 | + function (uiGridCellNavService, uiGridCellNavConstants, uiGridConstants, GridRowColumn, $compile, i18nService) { |
627 | 627 | return {
|
628 | 628 | replace: true,
|
629 | 629 | priority: -150,
|
|
861 | 861 | };
|
862 | 862 | }]);
|
863 | 863 |
|
864 |
| - module.directive('uiGridRenderContainer', ['$timeout', '$document', 'gridUtil', 'uiGridConstants', 'uiGridCellNavService', '$compile','uiGridCellNavConstants', |
865 |
| - function ($timeout, $document, gridUtil, uiGridConstants, uiGridCellNavService, $compile, uiGridCellNavConstants) { |
| 864 | + module.directive('uiGridRenderContainer', ['$timeout', 'gridUtil', 'uiGridCellNavService', '$compile','uiGridCellNavConstants', |
| 865 | + function ($timeout, gridUtil, uiGridCellNavService, $compile, uiGridCellNavConstants) { |
866 | 866 | return {
|
867 | 867 | replace: true,
|
868 | 868 | priority: -99999, // this needs to run very last
|
|
1046 | 1046 | * @restrict A
|
1047 | 1047 | * @description Stacks on top of ui.grid.uiGridCell to provide cell navigation
|
1048 | 1048 | */
|
1049 |
| - module.directive('uiGridCell', ['$timeout', '$document', 'uiGridCellNavService', 'gridUtil', 'uiGridCellNavConstants', 'uiGridConstants', 'GridRowColumn', |
1050 |
| - function ($timeout, $document, uiGridCellNavService, gridUtil, uiGridCellNavConstants, uiGridConstants, GridRowColumn) { |
| 1049 | + module.directive('uiGridCell', ['uiGridCellNavConstants', 'uiGridConstants', 'GridRowColumn', |
| 1050 | + function (uiGridCellNavConstants, uiGridConstants, GridRowColumn) { |
1051 | 1051 | return {
|
1052 | 1052 | priority: -150, // run after default uiGridCell directive and ui.grid.edit uiGridCell
|
1053 | 1053 | restrict: 'A',
|
|
0 commit comments