Validate is not a function
<p>I am trying to validate a simple form. But I keep getting this error</p>

<pre><code>Uncaught TypeError: $(...).validate is not a function
</code></pre>

<p>Here is my html file with form:</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;title&gt;Cohorts&lt;/title&gt;


  &lt;/head&gt;
  &lt;body&gt;
    &lt;script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.15.0/jquery.validate.min.js"&gt;&lt;/script&gt;
    &lt;script src="trunk/dev/validation.js"&gt;&lt;/script&gt;

    &lt;form id="register-form" class="form-horizontal" name="form" ng-submit="addCohort()"&gt;

      &lt;div class="form-group"&gt;

        &lt;label class="control-label col-xs-3"&gt;Name:&lt;/label&gt;

        &lt;input name="email" placeholder="Email Address" type="text" ng-model="formCohort.firstname"&gt;

        &lt;input class = "btn-btn-primary" id="submit-button"  type="submit" value="Sigin up"&gt;
      &lt;/div&gt;

    &lt;/form&gt;
  &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Here is my validation.</p>

<pre><code>$(function () {
  $("#register-form").validate({
    rules:{
      email:{
        required: true,
        email: true

      }
    }
  });

});
</code></pre>

<p>Here is the error in my console:</p>

<p><a href="https://i.stack.imgur.com/iv6Lr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iv6Lr.png" alt="enter image description here"></a></p>

<p>What am I doing wrong?</p>

<p>Thank you!</p>