Skip to content

Instantly share code, notes, and snippets.

@sergibondarenko
Last active August 29, 2017 06:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergibondarenko/7c5df871c96f4e9919900f8f87d53a8b to your computer and use it in GitHub Desktop.
Save sergibondarenko/7c5df871c96f4e9919900f8f87d53a8b to your computer and use it in GitHub Desktop.
define(['app'], function (app) {
var injectParams = ['$scope', '$state', '$stateParams',
'eventbus','$timeout','$q','$rootScope',
'storeService','authService', 'SweetAlert',
'EVENTS', 'CONFIGURATION'];
var dashboardController = function($scope, $state, $stateParams, eventbus, $timeout, $q, $rootScope, storeService, authService, Sweet Alert, EVENTS, CONFIGURATION) {
...
...
...
WidgetSettingsCtrl.$inject = injectWidgetSettingsParams;
app.register.controller('WidgetSettingsCtrl', WidgetSettingsCtrl);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment