mirror of
https://github.com/github/codeql.git
synced 2026-04-01 05:08:15 +02:00
6 lines
197 B
JavaScript
6 lines
197 B
JavaScript
function myController($scope, $filter) {
|
|
// ...
|
|
}
|
|
myController.$inject = ["$scope", "$filter"]; // GOOD: specified once
|
|
angular.module('myModule', []).controller('MyController', myController);
|