/*******
 * talk
 *******/
var talkCtrl = dogtalk.controller("talkCtrl",  ['$scope', '$route', '$routeParams', '$location',
function ($scope, $route, $routeParams, $location) {
  $scope.model = {
    message: "this is the main page fool!"
  };

}]);

talkCtrl.loadConversations = function (verifyState, $q) {
    console.log('dogtalk.talkCtrl.loadConversations');
    return verifyState();
};


@@ -116,16 +116,24 @@
 cation',
+ 'XMPP',
 %0Afunctio
@@ -174,16 +174,22 @@
 location
+, XMPP
 ) %7B%0A  $s
@@ -245,16 +245,50 @@
 e fool!%22
+,%0A    presence: XMPP.presence.data
 %0A  %7D;%0A%0A%7D

test data and presence