title: Durandal's activator
body: <p>I've stumbled on issue related to <code>Activator Lifecycle Callback</code> in <strong>Durandal</strong>. </p>
  
  <p>Here is my model with a bunch of callbacks. </p>
  
  <pre><code>define(function () {
      return {
          activate: activate,
          viewAttached: viewAttached,
          detached: detached,
          deactivate: deactivate,
          title: 'Lifecycle'
      };
  
      function activate() {
          debugger;
      }
      function viewAttached() {
          debugger;
      }
      function detached() {
          debugger;
      }
      function deactivate() {
          debugger;
      }
  });
  </code></pre>
  
  <p>But <strong><em>detached</em></strong> and <strong><em>deactivated</em></strong> methods are not raised.</p>
  
  <p>According to documentation these callbacks run when an activator is present. So the question is how can I add an activator module to my model?</p>
  
  <p><strong>UPDATED:</strong> composition of the model looks like:</p>
  
  <pre><code>&lt;!-- ko compose: { model: 'lifecycle', activate: true } --&gt;
  &lt;!-- /ko --&gt;
  </code></pre>