blob: 73cd3d92a24adbaf3cefcf824d73406ed5d7215e [file] [log] [blame]
Matteo Scandolo70ac2162016-02-24 15:40:22 -08001(function () {
2 'use strict';
Matteo Scandolo8a64fa42016-01-21 11:21:03 -08003
Matteo Scandolo70ac2162016-02-24 15:40:22 -08004 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 Scandolo8a64fa42016-01-21 11:21:03 -080024 });
Matteo Scandolo70ac2162016-02-24 15:40:22 -080025
26})();