Angular filter based on the code by Eamon Nerbonne
This package provides a filter to determine if a word should be preceded by "a" or "an".
bower install --save articler
Add it to you dependencies
angular.module('demo', ['articler']);
{{ house | articler }}
- Uppercase (the first letter of the article is on uppercase)
- Only article (it returns only the article)
Uppercase
{{ house | articler: true }}
Only article
{{ house | articler: false:true }}
Uppercase and only article
{{ house | articler: true:true }}