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