feat(plugins): refactored datasourceEditCtrl to typescript, #4298

This commit is contained in:
Torkel Ödegaard
2016-03-10 09:47:29 +01:00
parent d8b11adfd5
commit 1951f3856f
5 changed files with 174 additions and 146 deletions

View File

@@ -57,6 +57,7 @@ function setupAngularRoutes($routeProvider, $locationProvider) {
.when('/datasources/edit/:id', {
templateUrl: 'public/app/features/datasources/partials/edit.html',
controller : 'DataSourceEditCtrl',
controllerAs: 'ctrl',
resolve: loadOrgBundle,
})
.when('/datasources/new', {