Code coverage report for app/getting-started/rules.js

Statements: 62.5% (5 / 8)      Branches: 100% (0 / 0)      Functions: 50% (2 / 4)      Lines: 62.5% (5 / 8)      Ignored: none     

All files » app/getting-started/ » rules.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 29 30 31 32 33 34 35 361             1 2                               1             1        
(function() {
  'use strict';
 
  /**
   * @name  config
   * @description config block
   */
  function config($stateProvider) {
    $stateProvider
      .state('root.getting-started', {
        url: '/getting-started',
        views: {
          '@': {
            templateUrl: 'src/app/getting-started/getting-started.tpl.html',
            controller: 'GettingStartedCtrl as docs'
          }
        }
      });
  }
 
  /**
   * @name  gettingStartedCtrl
   * @description Controller
   */
  function GettingStartedCtrl($log) {
    var docs = this;
    docs.someMethos = function () {
      $log.debug('I\'m a method');
    };
  }
 
  angular.module('getting-started', [])
    .config(config)
    .controller('GettingStartedCtrl', GettingStartedCtrl);
})();