diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-29 11:58:35 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-29 11:58:35 +0200 |
commit | 1abc93d65c810578b017954bc8cf4adae33446fc (patch) | |
tree | 509839dabb86931809e0afa97992f229b0b91cb9 | |
parent | Added a timeout(40s) to $http stream requests (/events) in order to be notifi... (diff) | |
download | synapse-1abc93d65c810578b017954bc8cf4adae33446fc.tar.xz |
Cleaned up ng deps. By convention, angular modules must be listed at first
-rw-r--r-- | webclient/room/room-controller.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js index 910168754c..71b6720604 100644 --- a/webclient/room/room-controller.js +++ b/webclient/room/room-controller.js @@ -14,9 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. */ -angular.module('RoomController', ['ngSanitize', 'mFileInput', 'mUtilities']) -.controller('RoomController', ['$scope', '$http', '$timeout', '$routeParams', '$location', 'matrixService', 'eventHandlerService', 'mFileUpload', 'mUtilities', '$rootScope', - function($scope, $http, $timeout, $routeParams, $location, matrixService, eventHandlerService, mFileUpload, mUtilities, $rootScope) { +angular.module('RoomController', ['ngSanitize', 'mFileInput']) +.controller('RoomController', ['$scope', '$timeout', '$routeParams', '$location', '$rootScope', 'matrixService', 'eventHandlerService', 'mFileUpload', + function($scope, $timeout, $routeParams, $location, $rootScope, matrixService, eventHandlerService, mFileUpload) { 'use strict'; var MESSAGES_PER_PAGINATION = 30; var THUMBNAIL_SIZE = 320; |