You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
I've tried to use angular-hint in my project, I've got the error message for module. But when I wrote these code to test the error for controller and directives, I got nothing.
angular
.module('app.layout')
.controller('sidebarCtrl', sidebarCtrl);
sidebarCtrl.$inject = ['$state'];
function sidebarCtrl($state) {
const vm = this;
}
...
<div>
<div ng-repaet="vm.giftSchemes">abc</div>
</div>
I started to checking the code of angular hint, I found directives, dom and some other components has beed disabled. Why?
// Load angular hint modules
require('./src/modules/controllers');
// require('./src/modules/directives');
// require('./src/modules/dom');
require('./src/modules/events');
// require('./src/modules/interpolation');
require('./src/modules/modules');
require('./src/modules/scopes');
// List of all possible modules
// The default ng-hint behavior loads all modules
var AVAILABLE_MODULES = [
'ngHintControllers',
// 'ngHintDirectives',
// 'ngHintDom',
'ngHintEvents',
// 'ngHintInterpolation',
'ngHintModules',
'ngHintScopes'
];