TG-119 : change userSpace to studentSpace
This commit is contained in:
parent
a76d7a9604
commit
c8352cc37c
@ -52,7 +52,7 @@
|
|||||||
<!-- build:js({.tmp,app}) scripts/scripts.js -->
|
<!-- build:js({.tmp,app}) scripts/scripts.js -->
|
||||||
<script src="scripts/app.js"></script>
|
<script src="scripts/app.js"></script>
|
||||||
<script src="scripts/controllers/login.js"></script>
|
<script src="scripts/controllers/login.js"></script>
|
||||||
<script src="scripts/controllers/userSpace.js"></script>
|
<script src="scripts/controllers/studentSpace.js"></script>
|
||||||
<!-- endbuild -->
|
<!-- endbuild -->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -32,9 +32,9 @@ app.config(function ($stateProvider, $urlRouterProvider) {
|
|||||||
controller: 'LoginCtrl'
|
controller: 'LoginCtrl'
|
||||||
})
|
})
|
||||||
|
|
||||||
.state('userspace', {
|
.state('studentSpace', {
|
||||||
url: '/espace-etudiant',
|
url: '/espace-etudiant',
|
||||||
templateUrl: 'views/userSpace.html',
|
templateUrl: 'views/studentSpace.html',
|
||||||
controller: 'UserSpaceCtrl'
|
controller: 'StudentSpaceCtrl'
|
||||||
});
|
});
|
||||||
});
|
});
|
@ -18,7 +18,7 @@
|
|||||||
function login() {
|
function login() {
|
||||||
console.log('login');
|
console.log('login');
|
||||||
|
|
||||||
$state.go('userspace');
|
$state.go('studentSpace');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Private methods ------------------
|
// Private methods ------------------
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('clientApp')
|
angular.module('clientApp')
|
||||||
.controller('UserSpaceCtrl', ['$scope', '$state',
|
.controller('StudentSpaceCtrl', ['$scope', '$state',
|
||||||
function ($scope, $state) {
|
function ($scope, $state) {
|
||||||
|
|
||||||
$scope.toggleAccordion = toggleAccordion;
|
$scope.toggleAccordion = toggleAccordion;
|
Reference in New Issue
Block a user