title: Unable to use angular-summernote summarnote function undefined
body: <p>I am using Summernote Angular directive. However, for some reason it is not working.</p>
  
  <p>Problem:</p>
  
  <p>It is unable to identify the summarnote function...</p>
  
  <p><img src="https://i.stack.imgur.com/7klv7.png" alt="enter image description here"></p>
  
  <pre><code>&lt;summernote code="text"&gt;&lt;/summernote&gt;
  
  &lt;script src="components/bower_components/summernote/dist/summernote.js"&gt;&lt;/script&gt;
  &lt;script src="components/bower_components/angular-summernote/src/angular-summernote.js"&gt;&lt;/script&gt;
  
  ypeError: undefined is not a function
      at activate (http://localhost/tm/app/components/bower_components/angular-summernote/src/angular-summernote.js:57:15)
      at link (http://localhost/tm/app/components/bower_components/angular-summernote/src/angular-summernote.js:129:30)
      at http://localhost/tm/Scripts/angular.js:7113:44
      at nodeLinkFn (http://localhost/tm/Scripts/angular.js:6711:13)
      at compositeLinkFn (http://localhost/tm/Scripts/angular.js:6105:13)
      at compositeLinkFn (http://localhost/tm/Scripts/angular.js:6108:13)
      at nodeLinkFn (http://localhost/tm/Scripts/angular.js:6705:24)
      at compositeLinkFn (http://localhost/tm/Scripts/angular.js:6105:13)
      at publicLinkFn (http://localhost/tm/Scripts/angular.js:6001:30)
      at link (http://localhost/tm/Scripts/angular-route.js:918:7) &lt;div class="summernote ng-isolate-scope" code="text"&gt; angular.js:10071
  </code></pre>
  
  <p>The directive that I am currently using is: <a href="https://github.com/outsideris/angular-summernote/blob/master/src/angular-summernote.js" rel="nofollow noreferrer">https://github.com/outsideris/angular-summernote/blob/master/src/angular-summernote.js
  </a></p>
  
  <p>Can you suggest any better alternative if this is not the right solution.</p>
  
  <p>I have also tried with: </p>
  
  <pre><code>&lt;script src="components/bower_components/angular/angular.js"&gt;&lt;/script&gt;
  &lt;script src="components/bower_components/summernote/dist/summernote.js"&gt;&lt;/script&gt;
  &lt;script src="components/bower_components/angular-summernote/dist/angular-summernote.min.js"&gt;&lt;/script&gt;
  </code></pre>