/angularUtils

A place where I will collect useful re-usable Angular components that I make

Primary LanguageJavaScriptMIT LicenseMIT

Angular Utilities

I am working on a large-scale AngularJS-based project and I'll be extracting any useful re-usable components that I make and putting them here.

I'm following the convention of the [Ng-Boilerplate] (https://github.com/ngbp/ngbp) project of bundling all relevant code together, so that you should be able to simply copy the directory of the component you want to use, and it will include unit tests and any other dependencies.

This code is made available under the MIT license, so feel free to use any of these is your projects. If you find any of them useful I'd be happy to get feedback!

Index of Utilities

Filters

  • ordinalDate : Works like the built-in date filter, but will add the English ordinal suffix to the day.
  • startsWith : Filter for strings which start with the search string.

Directives

  • Disqus : Embed a Disqus comments widget in your app
  • tagbox : A Twitter-style tag suggestion and auto-complete directive that can be added to any text input or textarea.
  • uiBreadcrumbs : Auto-generated breadcrumbs for angular-ui-router using nested views.
  • pagination : Magical automatic pagination for anything.

Services

  • noise : A simple 1D interpolated noise generator.

License

MIT