Matteo Scandolo | 70ac216 | 2016-02-24 15:40:22 -0800 | [diff] [blame] | 1 | (function () { |
| 2 | 'use strict'; |
Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 3 | |
Matteo Scandolo | 70ac216 | 2016-02-24 15:40:22 -0800 | [diff] [blame] | 4 | angular.module('xos.diagnostic', [ |
| 5 | 'ngResource', |
| 6 | 'ngCookies', |
Matteo Scandolo | 70ac216 | 2016-02-24 15:40:22 -0800 | [diff] [blame] | 7 | 'ngAnimate', |
| 8 | 'ui.router', |
| 9 | 'xos.helpers' |
| 10 | ]) |
| 11 | .config(($stateProvider) => { |
| 12 | $stateProvider |
| 13 | .state('home', { |
| 14 | url: '/', |
| 15 | template: '<diagnostic-container></diagnostic-container>' |
| 16 | }); |
| 17 | }) |
| 18 | .config(function($httpProvider){ |
| 19 | $httpProvider.interceptors.push('NoHyperlinks'); |
| 20 | }) |
| 21 | .run(($log) => { |
| 22 | $log.info('Diagnostic Started'); |
Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 23 | }); |
Matteo Scandolo | 70ac216 | 2016-02-24 15:40:22 -0800 | [diff] [blame] | 24 | |
| 25 | })(); |