Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/umayr/angular-cressida
Cressida wrapped with Angular.
https://github.com/umayr/angular-cressida
Last synced: about 15 hours ago
JSON representation
Cressida wrapped with Angular.
- Host: GitHub
- URL: https://github.com/umayr/angular-cressida
- Owner: umayr
- License: mit
- Created: 2015-09-16T10:23:27.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-24T16:05:25.000Z (about 9 years ago)
- Last Synced: 2024-10-09T14:30:47.342Z (29 days ago)
- Language: JavaScript
- Size: 199 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Angular Cressida
> Angular wrapper over [cressida](https://github.com/umayr/cressida) message generator library.Since cressida is written for nodejs, so its quite pain in the ass to use it in browser applications yet alone within angular. So, `angular-cressida` serves this purpose.
##### Installation
``` bash
# with npm
$ npm install --save angular-cressida
# with bower
$ bower install --save angular-cressida
```##### Usage
Inject `cressida` module in your application and then in your controller:
``` javascript
angular
.module('my-app', ['cressida'])
.controller('ctrl', function($cressida){
$scope.message = $cressida.create(/* options */);
})
```
and then in your view:
``` html
{{ message('first name', '!empty') }}
```For more information on cressida, read its [docs](https://github.com/umayr/cressida/blob/master/README.md).