title: How can I get formwizard with steps inside directives with angular ui jquery passthrough to work?
body: <p>I have tried the jquery passthrough in angular with the form wizard and it worked great. Now, however I am having an issue. The jquery passthrough doesn't seem to work when the steps in the formwizard are inside directives (all the steps display instead of just showing you the first one):</p>
  
  <pre><code>&lt;form ui-jq="formwizard" ui-options="{formPluginEnabled: false, validationEnabled: false, focusFirstInput : false,  disableUIStyles : true}" ng-submit="create(currentActivity, selectedCategories)" class="main"&gt;
                      &lt;!--STEP 1 --&gt;             
                      &lt;div activity-wizard-step title="Class Activity Info" description="Add all info about the activity" src="resources/angular/templates/activity_wizard/activity_info.html" step-number="1"&gt;&lt;/div&gt;
  
                      &lt;!-- STEP 2 --&gt;
                      &lt;div activity-wizard-step title="Add Class(es)" description="dd Instructor-Led-Training (ILT) Classes below. It can be a classroom ILT or a Webinar ILT and contain 1 or more sessions." src="resources/angular/templates/activity_wizard/add_class.html" step-number="2"&gt;&lt;/div&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>Here is what my activityWizardStep directive looks like:</p>
  
  <pre><code>directivesModule.directive('activityWizardStep', function () {
      return {
          replace: true,
          restrict: 'AE',
          scope: {
              title: '@',
              description: '@',
              src: '@',
              stepNumber: '@'
          },
          templateUrl: 'resources/angular/templates/activity_wizard/wizard_step.html'
      }
  });
  </code></pre>
  
  <p>and wizard_step.html:</p>
  
  <pre><code>&lt;fieldset class="step" id="step{{stepNumber}}"&gt;
      Some html
  &lt;/fieldset&gt;
  </code></pre>
  
  <p>Like I said earlier, all the steps display all the time. I am thinking this is some kind of timing issue, like the directives or the include isn't in the dom fully when the jquery passthrough tries to initialize the formwizard. Is this what is happening? If so, should I use a $timeout somehwere? If so, where would I put it. Perhaps there is a better way. Any thoughts?</p>