Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/JesseHerrick/jekyll-angular
- Owner: JesseHerrick
- License: mit
- Created: 2015-05-21T18:49:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-23T18:20:32.000Z (over 5 years ago)
- Last Synced: 2024-05-13T16:25:23.475Z (6 months ago)
- Language: Ruby
- Homepage:
- Size: 8.79 KB
- Stars: 38
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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.__
```
# Gemfilegem '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 }}
```