mirror of
https://github.com/github/codeql.git
synced 2026-03-09 17:16:46 +01:00
8 lines
253 B
JavaScript
8 lines
253 B
JavaScript
function myController($scope, $filter) {
|
|
// ...
|
|
}
|
|
myController.$inject = ["$scope", "$cookies"]; // BAD: always overridden
|
|
// ...
|
|
myController.$inject = ["$scope", "$filter"];
|
|
angular.module('myModule', []).controller('MyController', myController);
|