https://github.com/capaj/ng-tools
collection of useful services/factories/directives/filters I like using in my projects
https://github.com/capaj/ng-tools
Last synced: about 1 year ago
JSON representation
collection of useful services/factories/directives/filters I like using in my projects
- Host: GitHub
- URL: https://github.com/capaj/ng-tools
- Owner: capaj
- License: mit
- Created: 2013-10-11T07:58:47.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-02-22T09:48:31.000Z (over 8 years ago)
- Last Synced: 2025-04-12T05:10:03.497Z (about 1 year ago)
- Language: JavaScript
- Size: 67.4 KB
- Stars: 31
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ng-tools
========
collection of useful services/factories/directives/filters I liked using in any Angular project few years ago. NOT MAINTAINED anymore
## Directives:
- include-in-scope
- fallback-url for getting a custom image for wrong image src urls
- markdown
- mark-current-url directive(and asociated mark-current-if-any-child-is directive)
- loader directive with loaderSvc for easy hiding spinners and other loader elements
- promise-class
## Factories
- urlize factory for easy synchronization between scope object and url search params
- debounce factory
- set and stored set factories
## Filters
- trustHtml filter
- trustUrl filter
- localizeNumber filter which uses number.toLocaleString to render a number in local i18n format
## Customization and building [](http://gruntjs.com/)
Build process is done with grunt, so if you want to modify sources, just run:
```
npm install
```
then when you want to get concatenated, minified sources, use command:
```
grunt
```
for tests, run
```
grunt karma
```