Skip to content

Angular filter to determine if a word should be preceded by "a" or "an"

License

Notifications You must be signed in to change notification settings

santiestra/articler

Repository files navigation

Articler

Angular filter based on the code by Eamon Nerbonne

Demo

This package provides a filter to determine if a word should be preceded by "a" or "an".

Installation

bower install --save articler

Add it to you dependencies

angular.module('demo', ['articler']);

Example

{{ house | articler }}

Options

  • Uppercase (the first letter of the article is on uppercase)
  • Only article (it returns only the article)

Examples

Uppercase

{{ house | articler: true }}

Only article

{{ house | articler: false:true }}

Uppercase and only article

{{ house | articler: true:true }}

About

Angular filter to determine if a word should be preceded by "a" or "an"

Resources

License

Stars

Watchers

Forks

Packages

No packages published