| Total Complexity | 2 |
| Complexity/F | 1 |
| Lines of Code | 38 |
| Function Count | 2 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | 'use strict'; |
||
| 2 | |||
| 3 | angular |
||
| 4 | .module('game') |
||
| 5 | .config(['$stateProvider', |
||
| 6 | function($stateProvider) { |
||
| 7 | $stateProvider |
||
| 8 | .state('matter', { |
||
| 9 | templateUrl: 'views/matter.html' |
||
| 10 | }) |
||
| 11 | .state('redox', { |
||
| 12 | component: 'redox' |
||
| 13 | }) |
||
| 14 | .state('reactor', { |
||
| 15 | component: 'reactor' |
||
| 16 | }) |
||
| 17 | .state('nova', { |
||
| 18 | component: 'nova' |
||
| 19 | }) |
||
| 20 | .state('supernova', { |
||
| 21 | component: 'supernova' |
||
| 22 | }) |
||
| 23 | .state('encyclopedia', { |
||
| 24 | templateUrl: 'views/encyclopedia.html' |
||
| 25 | }) |
||
| 26 | .state('core', { |
||
| 27 | component: 'core' |
||
| 28 | }) |
||
| 29 | .state('options', { |
||
| 30 | templateUrl: 'views/options.html' |
||
| 31 | }); |
||
| 32 | } |
||
| 33 | ]).run([ |
||
| 34 | '$state', |
||
| 35 | function($state) { |
||
| 36 | $state.go('matter'); |
||
| 37 | } |
||
| 38 | ]); |
||
| 39 |