# angular-uri

> An angular service that allows URI.js to be dependency injected

Latest version **0.2.0** (published 2016-01-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install angular-uri
pnpm add angular-uri
yarn add angular-uri
bun add angular-uri
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2016-01-16 |
| First published | 2016-01-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Kareem Francis |
| Maintainers | kareemf |

## Links

- npm: https://www.npmjs.com/package/angular-uri
- Repository: https://kareemf@github.com/kareemf/angular-uri
- Homepage: https://github.com/kareemf/angular-uri#readme
- Issues: https://github.com/kareemf/angular-uri/issues
- npm.io page: https://npm.io/package/angular-uri

## Recent versions

- 0.2.0 (latest) — 2016-01-16

## README

# angular-uri
An angular module that allows [URI.js](http://medialize.github.io/URI.js/) to be dependency injected

### Installation

Download via [bower](http://bower.io/)

```bash
bower install angular-uri
```

Include URI.js

```html
<script type="text/javascript" src="bower_components/uri.js/src/URI.js"></script>
```

Include angular-uri after angular.js and URI.js

```html
<script type="text/javascript" src="bower_components/angular-uri/angular-uri.js"></script>
```

### Usage

Load the module

```javascript
angular.module('app', ['angular-uri']);
```

Inject the URI dependency

```javascript
.controller('appController', function($scope, URI) {
	$scope.url = URI("example.com").addSearch({a:'b'}).toString();
});
```

---
_Source: https://npm.io/package/angular-uri · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
