text: (function() {
    'use strict';
  
    angular
      .module('caret')
      .config(routeConfig);
  
    function routeConfig($routeProvider) {
      $routeProvider
        .when('/', {
          templateUrl: 'app/main/main.html',
          controller: 'MainController',
          controllerAs: 'main'
        })
        .otherwise({
          redirectTo: '/'
        });
    }
  
  })();
  