GUACAMOLE-197: Add $injector to AngularJS controllers.
This commit is contained in:
1 parent
f84e3b88c6
commit
45f9815eed
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -22,8 +22,8 @@
|
||||
* the RADIUS server state to maintain the session with the RADIUS
|
||||
* server.
|
||||
*/
|
||||
angular.module('guacRadius').controller('radiusStateController', ['$scope', '$element',
|
||||
function radiusStateController($scope, $element) {
|
||||
angular.module('guacRadius').controller('radiusStateController', ['$scope', '$injector',
|
||||
function radiusStateController($scope, $injector) {
|
||||
|
||||
// Populate the hidden field for the connection state
|
||||
$scope.model = $scope.field.radiusState;
|
||||
|
||||
Reference in new issue
Block a user