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.
<!DOCTYPE html><htmlng-appng-hint><head><metacharset="utf-8"><title>Angular.js Example</title><scriptsrc="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script><scriptsrc="ngHint.js"></script></head><body>
First name:<inputng-model="firstName" type="text"/><br>
Last name:<inputng-model="lastName" type="text"/><br>
Hello {{firstName}} {{lastName}}
</body></html>
This triggered two warnings in Angular Hint:
Angular Hint: Modules ngHint.js:119
Warning ngHint.js:136
Module "ngHintScopes" was created but never loaded. ngHint.js:138
Angular Hint: Controllers ngHint.js:119
Warning ngHint.js:136
It is against Angular best practices to instantiate a controller on the window. This behavior is deprecated in Angular 1.3.0 ngHint.js:138
Clearly none of this is my app's fault. In particular, I was definitely not the one who created ngHintScopes, and further it really should be loaded.
The text was updated successfully, but these errors were encountered:
sjelin
changed the title
AngularHint creates its own warnings
AngularHint triggers its own warnings
Nov 13, 2014
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I created a very simple angular app
This triggered two warnings in Angular Hint:
Clearly none of this is my app's fault. In particular, I was definitely not the one who created
ngHintScopes
, and further it really should be loaded.The text was updated successfully, but these errors were encountered: