title: pusher unbind not working
body: <p>i am using javascript pusher library (angularjs) with PHP backend.</p>
  
  <p>js:</p>
  
  <pre><code>// Enable pusher logging - don't include this in production
  Pusher.logToConsole = true;
  
  var pusher = new Pusher('API_KEY', {
          cluster: 'ap2',
          encrypted: true
  });
  var channel = pusher.subscribe('my-channel');
  channel.bind('my-event', function (data) {
     common.flashMsg('success', data.message);
  });
  </code></pre>
  
  <p>for bind and unbind code:</p>
  
  <pre><code>$scope.workerStatus = function (status) {
          if (status == 'available') {
              common.flashMsg('success', "Welcome Again...!");
              channel.bind('my-event', function (data) {
                  common.flashMsg('success', data.message);
              });
          } else {
              common.flashMsg("error", "You're now offline. Good Bye.");
              channel.unbind('my-event', function () {
                  common.flashMsg('success', data.message);
              });
          }
  }
  </code></pre>
  
  <p>i want to unbind the <code>channel</code>,when user is logout and stop notification, but channel <code>unbind</code> event not working, user still able to receive notification.
  what i am missing?</p>