mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +01:00
19 lines
475 B
JavaScript
19 lines
475 B
JavaScript
angular.module('myApp')
|
|
.controller('myController1', function mc1($scope) {
|
|
})
|
|
.config(function($routeProvider) {
|
|
$routeProvider
|
|
.when('somePath', {
|
|
controller: function mc3($scope) {
|
|
}
|
|
})
|
|
.otherwise({
|
|
controller: function mc4($scope) {
|
|
}
|
|
})
|
|
.when('somePath', {
|
|
controller: 'myController1'
|
|
})
|
|
});
|
|
;
|