mirror of
https://github.com/github/codeql.git
synced 2026-01-19 17:34:47 +01: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);
|