# bedrock-angular-meta

> A module that improves SEO by dynamically setting `meta` tags in a Bedrock AngularJS application.

Latest version **2.0.0** (published 2017-05-30) · 0 weekly downloads

## Install

```sh
npm install bedrock-angular-meta
pnpm add bedrock-angular-meta
yarn add bedrock-angular-meta
bun add bedrock-angular-meta
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2017-05-30 |
| First published | 2017-05-30 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+12 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | mattcollier |

## Links

- npm: https://www.npmjs.com/package/bedrock-angular-meta
- Repository: https://github.com/digitalbazaar/bedrock-angular-meta
- Homepage: https://github.com/digitalbazaar/bedrock-angular-meta#readme
- Issues: https://github.com/digitalbazaar/bedrock-angular-meta/issues
- npm.io page: https://npm.io/package/bedrock-angular-meta

## Dependencies (1)

- [angular](https://npm.io/package/angular.md) ~1.6.4

## Recent versions

- 2.0.0 (latest) — 2017-05-30

## README

# bedrock-angular-meta

A module that improves SEO by dynamically setting `meta`
tags in a Bedrock AngularJS application.

The following `meta` tag attributes are supported:
- `property`
- `name`
- `itemprop`

## Example Angular Controller
```
function Ctrl($document, $location, brMetaService) {

  brMetaService.set([
    // example `property` attributes
    {
      property: 'og:description',
      content: 'About Page - property'
    },
    {
      property: 'og:image',
      content: 'https://example.com/image.jpg'
    },
    {
      property: 'og:title',
      content: $document[0].title
    },
    {
      property: 'og:url',
      content: $location.absUrl()
    },
    // example `name` attribute
    {
      name: 'og:description',
      content: 'About Page - name'
    }
    // example `itemprop` attribute
    {
      itemprop: 'name',
      content: 'About Page - itemprop'
    }
  ]);
}
```

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