Document sharing (client), better state handling for file view

This commit is contained in:
jendib
2013-08-15 15:23:41 +02:00
parent ed85909d00
commit ea1e226b50
11 changed files with 134 additions and 52 deletions
+16
View File
@@ -31,6 +31,22 @@ var App = angular.module('share',
controller: 'Share'
}
}
})
.state('share.file', {
url: '/file/:fileId',
views: {
'file': {
controller: 'FileView'
}
}
})
.state('403', {
url: '/403',
views: {
'page': {
templateUrl: 'partial/share/403.html'
}
}
});
// Configuring Restangular