Description: client code
Submitted on May 6, 2015 at 02:46 AM

Section 1 (JavaScript)

Template.title.events({
        'click #thebutton': function () {
             Meteor.call('gimmetitle',  function(error, result){
                Session.set('gogle', result);
            });

             var avar = Session.get('gogle');
             console.log(avar);
        }
    });