route.js 880 B

1234567891011121314151617181920212223242526272829303132
  1. starter.config(function ($stateProvider) {
  2. $stateProvider.state('process', {
  3. url: '/index',
  4. templateUrl: 'templates/process.html',
  5. controller: 'ProcessCtrl'
  6. })
  7. .state('process-manage', {
  8. url: '/process-manage',
  9. templateUrl: 'templates/process-manage.html',
  10. controller: 'ProcessManageCtrl'
  11. })
  12. .state('process-apply', {
  13. url: '/process-apply',
  14. templateUrl: 'templates/process-apply.html',
  15. controller: 'ProcessApplyCtrl'
  16. })
  17. .state('process-create', {
  18. url: '/process-create',
  19. templateUrl: 'templates/process-create.html',
  20. controller: 'ProcessCreateCtrl'
  21. })
  22. .state('process-setfielditem', {
  23. url: '/process-setfielditem/:id',
  24. templateUrl: 'templates/process-setfielditem.html',
  25. controller: 'ProcessSetFieldItemCtrl'
  26. })
  27. });