static/javascripts/shopit_app.routes.js
/**
   * @name : config
   * @description : define the valid application routes
   */
@name : config
@description : define the valid application routes
@name : config @description : define the valid application routes
function config($routeProvider) {
    $routeProvider
      .when('/register', {
        controller: 'RegisterController',
        controllerAs: 'rc',
        templateUrl: '/static/templates/authentication/register.html'
      })
      .when('/login', {
        controller: 'LoginController',
        controllerAs: 'lc',
        templateUrl: '/static/templates/authentication/login.html'
      }).otherwise('/');
  }
function config ( $routeProvider ) { $routeProvider . when ( '/register' , { controller : 'RegisterController' , controllerAs : 'rc' , templateUrl : '/static/templates/authentication/register.html' } ) . when ( '/login' , { controller : 'LoginController' , controllerAs : 'lc' , templateUrl : '/static/templates/authentication/login.html' } ) . otherwise ( '/' ) ; }
@name : config
 @description : define the valid application routes
@name : config @description : define the valid application routes