Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'use strict';
- /**
- * Route configuration for the RDash module.
- */
- angular.module('rolldice').config(['$stateProvider', '$urlRouterProvider',
- function($stateProvider, $urlRouterProvider) {
- // For unmatched routes
- $urlRouterProvider.otherwise('/');
- // Application routes
- $stateProvider
- .state('index', {
- url: '/',
- templateUrl: 'templates/dashboard.html'
- })
- .state('users', {
- url: '/users',
- templateUrl: 'templates/users.html'
- })
- .state('deposit', {
- url: '/deposit',
- templateUrl: 'templates/deposits.html'
- })
- .state('withdrawals', {
- url: '/withdrawals',
- templateUrl: 'templates/withdrawals.html'
- });
- }
- ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement