Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/JesseHerrick/jekyll-angular

A Jekyll plugin to make AngularJS play nice.
https://github.com/JesseHerrick/jekyll-angular

Last synced: 3 months ago
JSON representation

A Jekyll plugin to make AngularJS play nice.

Awesome Lists containing this project

README

        

# Jekyll-Angular

> A Jekyll plugin to make [AngularJS](https://angularjs.org/) play nice.

## Why?

Unfortunately, Jekyll and Angular don't usually work well together...

```html


{{ bar }}



```

Gets turned into:

```html




```

**Why?** Because Jekyll interperets `{{ brackets }}` as Liquid. How do we fix this? _This_ plugin.

## Getting Started

__Install the gem.__

```
# Gemfile

gem 'jekyll-angular'
```

```
$ bundle install
```

__Add the plugin to your config.__

```yaml
# _config.yml
plugins:
- jekyll-angular
```

__Use the plugin for cool Angular stuff.__

```html


{{ 'bar' | angular }}



```

_Gets processed into..._

```html


{{ bar }}



```