Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ericfreeman/angular-ab-test

Simple A/B testing for AngularJS
https://github.com/ericfreeman/angular-ab-test

ab-testing angularjs

Last synced: 3 months ago
JSON representation

Simple A/B testing for AngularJS

Awesome Lists containing this project

README

        

# Angular A/B Test

[![npm version](https://badge.fury.io/js/angular-ab-test.svg)](https://badge.fury.io/js/angular-ab-test)
[![Bower version](https://badge.fury.io/bo/angular-ab-test.svg)](https://badge.fury.io/bo/angular-ab-test)

Simple A/B testing directive because [Optimizely](https://www.optimizely.com/) is pretty rough at working with AngularJS projects.

---

[Example](http://ericfreeman.github.io/angular-ab-test/#/example) | [Documentation](http://ericfreeman.github.io/angular-ab-test/#/documentation)

---

## Get Started

Add an `` tag like so:

```

a variation

```

It will show if there's a value for `abtests` in your localStorage that happens to look like this:

`[{"name":"sample-test","value":"a"}]`