text: angular.module('starter.controllers', [])
  
      .controller('DashCtrl', function ($scope) {
      })
  
      .controller('ChatsCtrl', function ($scope, Chats) {
          $scope.chats = Chats.all();
          $scope.remove = function (chat) {
              Chats.remove(chat);
          }
      })
  
      .controller('ProjectsCtrl', function ($scope, $meteorCollection) {
          $scope.projects = $meteorCollection(Projects);
          $scope.remove = function (project) {
              Chats.remove(project);
          }
      })
  
      .controller('ChatDetailCtrl', function ($scope, $stateParams, Chats) {
          $scope.chat = Chats.get($stateParams.chatId);
      })
  
      .controller('AccountCtrl', function ($scope) {
          $scope.settings = {
              enableFriends: true
          };
      });
  