text: 'use strict';
  
  // Setting up route
  angular.module('core').config(['$stateProvider', '$urlRouterProvider',
  	function($stateProvider, $urlRouterProvider) {
  
  		// Redirect to home view when route not found
  		$urlRouterProvider.otherwise('/');
  
  		// Home state routing
  		$stateProvider
  			.state('home', {
  				url: '/',
  				templateUrl: 'modules/core/views/home.client.view.html',
  				controller: 'HomeCtrl'
  			})
  			.state('learn', {
  				url: '/learn',
  				templateUrl: 'modules/core/views/learn.client.view.html',
  				controller: 'LearnCtrl'
  			});
  	}
  ]);
  