'use strict';

angular.module('chat', ['ngTouch', 'restangular', 'ui.router', 'ui.bootstrap'])
  .config(function($stateProvider, $urlRouterProvider) {
    $stateProvider
      .state('home', {
        url: '/',
        templateUrl: 'app/main/main.html',
        controller: 'chatCtrl'
      });

    $urlRouterProvider.otherwise('/');
  })
;

'use strict';

angular.module('chat', ['ngTouch', 'restangular', 'ui.router', 'ui.bootstrap', 'chat.auth'])
  .config(function($stateProvider, $urlRouterProvider) {
    $stateProvider
      .state('home', {
        url: '/',
        templateUrl: 'app/main/main.html',
        controller: 'chatCtrl'
      });

    $urlRouterProvider.otherwise('/');
  })
;

Add chat.auth module to main module.
Add chat.auth module to main module.
