7bfaac80a7
/partial routes on server. code cleanup & reorganization, remove a lot of return statements (coffeescript compiled)
13 lines
489 B
JavaScript
13 lines
489 B
JavaScript
"use strict";
|
|
|
|
window.habitrpg = angular.module('habitrpg', ['ngRoute', 'userServices', 'sharedServices', 'authServices', 'notificationServices', 'ui.bootstrap'])
|
|
.constant("API_URL", "")
|
|
.config(['$routeProvider', function($routeProvider) {
|
|
$routeProvider
|
|
//.when('/login', {templateUrl: 'views/login.html'})
|
|
.when('/tasks', {templateUrl: 'partials/tasks'})
|
|
.when('/options', {templateUrl: 'partials/options'})
|
|
|
|
.otherwise({redirectTo: '/tasks'});
|
|
}])
|