www/app/components/home/homeController.js
/**
   * @desc Controllers of ProvisionalPlans
   * @namespace HomeController
   * @memberOf Controllers
   */
@desc Controllers of ProvisionalPlans
@namespace HomeController
@memberOf Controllers
@desc Controllers of ProvisionalPlans @namespace HomeController @memberOf Controllers
function HomeController($localStorage, $state) {
    (function init() {
      _redirectToProvisionalPlanListIfUserAuthenthicated();
      defineScope();
      defineListeners();
    })();
    function defineScope() {
    }
    function defineListeners() {
    }
    function _redirectToProvisionalPlanListIfUserAuthenthicated() {
      if (!neogenz.utilities.isUndefinedOrNull($localStorage.token)) {
        $state.go('app.provisionalPlans');
      }
    }
  }
function HomeController ( $localStorage , $state ) { ( function init ( ) { _redirectToProvisionalPlanListIfUserAuthenthicated ( ) ; defineScope ( ) ; defineListeners ( ) ; } ) ( ) ; function defineScope ( ) { } function defineListeners ( ) { } function _redirectToProvisionalPlanListIfUserAuthenthicated ( ) { if ( ! neogenz . utilities . isUndefinedOrNull ( $localStorage . token ) ) { $state . go ( 'app.provisionalPlans' ) ; } } }
@desc Controllers of ProvisionalPlans
 @namespace HomeController
 @memberOf Controllers
@desc Controllers of ProvisionalPlans @namespace HomeController @memberOf Controllers
/**
     * @desc Defines all $scope variables
     * @function defineScope
     * @memberOf Controllers.ProvisionalPlanAddController
     */ /**
     * @desc Attach view listeners to this controller
     * @function defineListeners
     * @memberOf Controllers.ProvisionalPlanAddController
     */