text: var uiBootstrap = require('angular-ui-bootstrap');
  var helloWorldControllers = angular.module('helloWorldApp.controllers',[]);
  var helloWorldAppServices = angular.module('helloWorldApp.services',[]);
  require('./controllers/home/HomeCtrl.js')(helloWorldControllers);
  require('./services/HomeService.js')(helloWorldAppServices);
  require('./controllers/chat/ChatCtrl.js')(helloWorldControllers);
  require('./services/ChatService.js')(helloWorldAppServices);
  require('./services/UserService.js')(helloWorldAppServices);
  require('./services/FriendsService.js')(helloWorldAppServices);
  require('./controllers/friends/FriendsListCtrl.js')(helloWorldControllers);
  require('./services/PrimusService.js')(helloWorldAppServices);
  angular.module('helloWorldApp',['ngRoute','helloWorldApp.controllers', 'helloWorldApp.services','ui.bootstrap'])
  .config(function($routeProvider){
  	$routeProvider
  	.when("/", {
  		templateUrl: "app/partials/home.html", 
  		controller: "HomeCtrl"
  	})
  	.when("/chat/", {
  		templateUrl: "app/partials/chat.html", 
  		controller: "ChatCtrl"
  	})
  	.when("/chat/:id", {
  		templateUrl: "app/partials/chat.html", 
  		controller: "ChatCtrl"
  	})
  	.when("/friendsList", {
  		templateUrl: "app/partials/friendsList.html", 
  		controller: "FriendsListCtrl"
  	})
  	.otherwise({redirectTo: '/'});
  });