Socket
Socket
Sign inDemoInstall

angular-hint-controllers

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-hint-controllers

hint module for controllers best practices


Version published
Weekly downloads
15
increased by650%
Maintainers
3
Weekly downloads
 
Created
Source

hint-controllers Build Status

This hinting module is part of the overall tool AngularHint that provides warnings about best practices. Loading this module will provide warnings to the console that have to do with the operation of the Angular controller.

Features:

  1. Warns About Use of Global Controllers Global Controllers are Deprecated in Angular 1.3.0

Angular controllers should not be globally registered. They should be registered on modules. For instance:

angular.module('controllerApp').controller(function(){
  //Do some behavior
});
  1. Hints About Best Practices for Controller Naming

Angular controller names should begin with a capital letter and end with -Controller.

angular.module('SampleApp', []).controller('SampleController', function() {});

FAQs

Package last updated on 28 Jul 2014

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