Removed unnecessary dependency injections

This commit is contained in:
Michael Abashian
2017-03-16 14:53:08 -04:00
parent 1c266b6ab5
commit 1869ba6742
85 changed files with 272 additions and 306 deletions

View File

@@ -139,13 +139,13 @@ import listGenerator from './list-generator/main';
export default
angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerator.name])
.factory('GenerateForm', ['$rootScope', '$location', '$compile', 'generateList',
.factory('GenerateForm', ['$rootScope', '$compile', 'generateList',
'Attr', 'Icon', 'Column',
'NavigationLink', 'HelpCollapse', 'DropDown', 'Empty', 'SelectIcon',
'Store', 'ActionButton', '$log', 'i18n',
function ($rootScope, $location, $compile, GenerateList,
'NavigationLink', 'HelpCollapse', 'Empty', 'SelectIcon',
'ActionButton', '$log', 'i18n',
function ($rootScope, $compile, GenerateList,
Attr, Icon, Column, NavigationLink, HelpCollapse,
DropDown, Empty, SelectIcon, Store, ActionButton, $log, i18n) {
Empty, SelectIcon, ActionButton, $log, i18n) {
return {
setForm: function (form) { this.form = form; },