Matteo Scandolo | 16763e9 | 2016-02-24 15:40:22 -0800 | [diff] [blame] | 1 | (function () { |
| 2 | 'use strict'; |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 3 | |
Matteo Scandolo | 16763e9 | 2016-02-24 15:40:22 -0800 | [diff] [blame] | 4 | angular.module('xos.diagnostic', [ |
| 5 | 'ngResource', |
| 6 | 'ngCookies', |
Matteo Scandolo | 16763e9 | 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 | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 23 | }); |
Matteo Scandolo | 16763e9 | 2016-02-24 15:40:22 -0800 | [diff] [blame] | 24 | |
| 25 | })(); |