Converted ctrl to typescript

This commit is contained in:
utkarshcmu
2016-01-19 21:04:53 -08:00
parent 6e99eed417
commit e26cd21048
6 changed files with 26 additions and 50 deletions

View File

@@ -134,7 +134,8 @@ define([
})
.when('/dashboard/snapshots', {
templateUrl: 'app/features/snapshot/partials/snapshots.html',
controller : 'SnapshotsCtrl'
controller : 'SnapshotsCtrl',
controllerAs: 'ctrl',
})
.when('/apps', {
templateUrl: 'app/features/apps/partials/list.html',