An AngularJS replacement for jQuery img preload.
1 person uses it
Author: 922234?v=2 tomchentw


Distributed via

Version     Bower version

Image preload directive for AngularJS

Travis CI   Quality     Coverage    Dependencies

Project philosophy

Develop in LiveScript

LiveScript is a compile-to-js language, which provides us more robust way to write JavaScript.
It also has great readibility and lots of syntax sugar just like you're writting python/ruby.


Just use it

Then include them through script tag in your HTML.

Rails projects (Only support 3.1+)

Add this line to your application's Gemfile:

And then execute:

Then add these lines to the top of your app/assets/javascripts/application.js file:

And include in your angular module definition:



devDependency Status

  1. Fork it ( )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
comments powered by Disqus
This page was last updated over 4 years ago.