Fairly overkill AngularJS + RequireJS UI for the mock login screen.

This commit is contained in:
Simo Kinnunen
2014-01-24 22:53:51 +09:00
parent 24825ff7fc
commit 2b46ff41d3
13 changed files with 178 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
define(['./app'], function(app) {
return app.config([
'$routeProvider'
, '$locationProvider'
, function($routeProvider, $locationProvider) {
$locationProvider.html5Mode(true)
$routeProvider
.when('/', {
templateUrl: 'partials/signin'
, controller: 'SignInCtrl'
})
.otherwise({
redirectTo: '/'
})
}
])
})