forked from pikock/bootstrap-magic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.js
More file actions
executable file
·12 lines (11 loc) · 865 Bytes
/
Copy pathapp.js
File metadata and controls
executable file
·12 lines (11 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
'use strict';
// Declare app level module which depends on filters, and services
angular.module('bootstrapVariablesEditor', ['bootstrapVariablesEditor.filters', 'bootstrapVariablesEditor.services', 'bootstrapVariablesEditor.directives']).
config(['$locationProvider','$routeProvider', function($locationProvider,$routeProvider) {
$locationProvider.hashPrefix('!');
//$routeProvider.when('/intro', {templateUrl: 'partials/intro.html', controller: IntroCtrl});
$routeProvider.when('/editor', {templateUrl: 'partials/editor.html', controller: LessCtrl});
$routeProvider.when('/create-website-pikock', {templateUrl: 'partials/create-website-pikock.html', controller: PageCtrl});
$routeProvider.when('/submit-theme', {templateUrl: 'partials/submit-theme.html', controller: PageCtrl});
$routeProvider.otherwise({redirectTo: '/editor'});
}]);