Code coverage report for ./src/client/app/base-template/map.route.js

Statements: 71.43% (5 / 7)      Branches: 100% (0 / 0)      Functions: 33.33% (1 / 3)      Lines: 71.43% (5 / 7)      Ignored: none     

All files » ./src/client/app/base-template/ » map.route.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 291     1       1   1       1                              
(function() {
    'use strict';
 
    angular
        .module('app.map')
        .run(appRun);
 
    appRun.$inject = ['routerHelper'];
    /* @ngInject */
    function appRun(routerHelper) {
        routerHelper.configureStates(getStates());
    }
 
    function getStates() {
        return [
            {
                state: 'map',
                config: {
                    url: '/map',
                    templateUrl: 'app/map/map.html',
                    controller: 'MapController',
                    controllerAs: 'vm',
                    title: 'map'
                }
            }
        ];
    }
})();