blob: 210606af923ee727e1d2f53f3a92a775f67d4246 [file] [log] [blame]
Matteo Scandolo16763e92016-02-24 15:40:22 -08001(function () {
2 'use strict';
Matteo Scandolobe9b13d2016-01-21 11:21:03 -08003
Matteo Scandolo16763e92016-02-24 15:40:22 -08004 angular.module('xos.diagnostic', [
5 'ngResource',
6 'ngCookies',
Matteo Scandolo16763e92016-02-24 15:40:22 -08007 '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 Scandolobe9b13d2016-01-21 11:21:03 -080023 });
Matteo Scandolo16763e92016-02-24 15:40:22 -080024
25})();