Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stevemao/angular-ical

An Angular factory wrapper for ical.js
https://github.com/stevemao/angular-ical

Last synced: 2 days ago
JSON representation

An Angular factory wrapper for ical.js

Awesome Lists containing this project

README

        

# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]

> angular-ical is an Angular factory wrapper for [ical.js](https://github.com/mozilla-comm/ical.js)

`ICAL` doesn't have to be accessed by the `window` object. Use dependency injection instead. Great for unit test and do everything in the Angular manner.

Add `ngIcal` as a module dependency to your app after including the `angular-ical.js` script and inject `ical` anywhere you need.

**NOTE**: the service `ical` is the same object as `window.ICAL`. We prefer camelCase in Angular for objects.

[npm-image]: https://badge.fury.io/js/angular-ical.svg
[npm-url]: https://npmjs.org/package/angular-ical
[travis-image]: https://travis-ci.org/stevemao/angular-ical.svg?branch=master
[travis-url]: https://travis-ci.org/stevemao/angular-ical
[daviddm-image]: https://david-dm.org/stevemao/angular-ical.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/stevemao/angular-ical