scotch / angular-brunch-seed

AngularJS + Brunch
Other
228 stars 78 forks source link

AngularJS out of date #35

Closed Hoverbear closed 8 years ago

Hoverbear commented 11 years ago

Currently using Angular JS 1.0.2 when stable is 1.0.3.

Hoverbear commented 11 years ago

This should maybe be pulling off CDN now that I think about it. Thoughts?

kylefinley commented 11 years ago

I'm undecided on this.

Pros:

Cons:

Also, angular-seed is still including the scripts.

Maybe we could we could add commented out lines that would add Angular through the CDN and remove the script files from the build.

Hoverbear commented 11 years ago

Maybe use a fallback?

<!-- Angular JS off CDN, otherwise fallback. -->
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.min.js"></script>
 <script>
    window.angular || document.write('<script src="scripts/vendor/angular-1.0.2.min.js"><\/script>')
 </script>

For example

derek-adair commented 11 years ago

fallback is the way to go!

derek-adair commented 11 years ago

Actually, it might be cool to have brunch swap out the local script for the proper CDN version on production compile. I have no idea how difficult that would be to accomplish... but that'd be pretty slick!

kylecordes commented 10 years ago

I'm not sure if this is maintained much anymore... but if so, relevant to this item Angular is now at 1.2.3.

ethanmick commented 9 years ago

1.3.8 Is the latest version, 1.2.x is now legacy.