mirror of
https://github.com/github/codeql.git
synced 2026-06-03 12:50:16 +02: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);
|