Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2015
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. 'use strict';
  2.  
  3. /**
  4. * Route configuration for the RDash module.
  5. */
  6. angular.module('rolldice').config(['$stateProvider', '$urlRouterProvider',
  7. function($stateProvider, $urlRouterProvider) {
  8.  
  9. // For unmatched routes
  10. $urlRouterProvider.otherwise('/');
  11.  
  12. // Application routes
  13. $stateProvider
  14. .state('index', {
  15. url: '/',
  16. templateUrl: 'templates/dashboard.html'
  17. })
  18. .state('users', {
  19. url: '/users',
  20. templateUrl: 'templates/users.html'
  21. })
  22. .state('deposit', {
  23. url: '/deposit',
  24. templateUrl: 'templates/deposits.html'
  25. })
  26. .state('withdrawals', {
  27. url: '/withdrawals',
  28. templateUrl: 'templates/withdrawals.html'
  29. });
  30. }
  31. ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement