Socket
Socket
Sign inDemoInstall

angular-annotation-decorator

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-annotation-decorator

ES7 decorator for adding $inject annotations for Angular 1.x


Version published
Maintainers
1
Created
Source

angular-annotation-decorator Build Status

ES7 decorator for adding $inject annotations for Angular 1.x.

Installing

npm install angular-annotation-decorator

Usage

import {annotate} from 'angular-annotation-decorator';

@annotate('$http', '$q')
class MyService {
  constructor ($http, $q) {
    // 
  }
}

You'll need to use an ESNext transpiler like Babel and enable the experimental es7.decorators transformer.

Keywords

FAQs

Package last updated on 09 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc