× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Hot Towel Angular-Breeze course - getting breezeProvider errors

Leniel Macaferi
Feb 02, 2015
<p>The real problem is that 1st error: <code>Can't find breeze</code>. See that <code>breeze.angular.js</code> is the file that barks...</p> <p>Make sure you have breeze JS file added in your <code>index.html</code>:</p> <pre><code>&lt;script src="scripts/breeze.debug.js"&gt;&lt;/script&gt; // or breeze.min.js &lt;script src="scripts/breeze.angular.js"&gt;&lt;/script&gt; </code></pre> <p>If you have it already added, make sure it comes before <code>breeze.angular.js</code> like shown above.</p> <hr> <p>These are <code>breeze</code> JS references I have in my app:</p> <pre><code>&lt;!-- #region Breeze --&gt; &lt;script src="scripts/breeze.debug.js"&gt;&lt;/script&gt; &lt;script src="scripts/breeze.angular.js"&gt;&lt;/script&gt; &lt;script src="scripts/breeze.directives.js"&gt;&lt;/script&gt; &lt;script src="scripts/breeze.saveErrorExtensions.js"&gt;&lt;/script&gt; &lt;!-- #endregion --&gt; </code></pre> <p>This tip was originally posted on <a href="http://stackoverflow.com/questions/24145230/Hot%20Towel%20Angular-Breeze%20course%20-%20getting%20breezeProvider%20errors/24147768">Stack Overflow</a>.</p>
comments powered by Disqus