Semaphore/public/js/routes/auth.js

19 lines
460 B
JavaScript
Raw Normal View History

2014-08-24 19:36:34 +02:00
define([
'app'
], function(app) {
app.config(function($stateProvider, $urlRouterProvider, $locationProvider, $couchPotatoProvider) {
$locationProvider.html5Mode(true);
$urlRouterProvider.otherwise('/');
$stateProvider.state('login', {
url: '/',
pageTitle: "Sign In",
templateUrl: "/view/auth/login",
controller: "SignInCtrl",
resolve: {
dummy: $couchPotatoProvider.resolveDependencies(['controllers/auth/login'])
}
})
});
});