Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matthieu-D/angular-lorem-image
Easy way to generate magic lorem images for your projects
https://github.com/matthieu-D/angular-lorem-image
Last synced: 3 months ago
JSON representation
Easy way to generate magic lorem images for your projects
- Host: GitHub
- URL: https://github.com/matthieu-D/angular-lorem-image
- Owner: matthieu-D
- License: mit
- Created: 2013-12-05T18:13:23.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-23T12:52:18.000Z (about 9 years ago)
- Last Synced: 2024-07-18T11:19:37.089Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 7.22 MB
- Stars: 27
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# angular-lorem-image
```html
bower install angular-lorem-image
```
This directive provides lorem image generation for your website by using the great lorempixel service to generate images.
Options:
- width: in px(default value at 300 px)
- height:in px(default value at 200 px)
- count: number of images
- text: vertical text on the left border of your image
- category: specific to lorem images (ex:sports,animals)
Really simple to use :
```html
```
JSFiddle example : http://jsfiddle.net/xMuB9/1/
PR accepted so Have Fun!
## Directory Layout
app/ --> all of the files to be used in production
index.html --> app layout file (the main html template file of the app)
js/ --> javascript files
app.js --> application
directives.js --> application directives
services.js --> custom angular services
partials/ --> angular view partials (partial html templates)
partial1.html
config/karma.conf.js --> config file for running unit tests with Karma
config/karma-e2e.conf.js --> config file for running e2e tests with Karma
scripts/ --> handy shell/js/ruby scripts
e2e-test.sh --> runs end-to-end tests with Karma (*nix)
e2e-test.bat --> runs end-to-end tests with Karma (windows)
test.bat --> autotests unit tests with Karma (windows)
test.sh --> autotests unit tests with Karma (*nix)
web-server.js --> simple development webserver based on node.js
test/ --> test source files and libraries
e2e/ -->
runner.html --> end-to-end test runner (open in your browser to run)
scenarios.js --> end-to-end specs
lib/
angular/ --> angular testing libraries
angular-mocks.js --> mocks that replace certain angular services in tests
angular-scenario.js --> angular's scenario (end-to-end) test runner library
version.txt --> version file
unit/ --> unit level specs/tests
controllersSpec.js --> specs for controllers
directivessSpec.js --> specs for directives
filtersSpec.js --> specs for filters
servicesSpec.js --> specs for services