我在我的 netbeans 7 上安装了 Angular JS 插件,它工作正常,但我无法获得 Angular JS 之类的下拉指令建议ng-app, ng-model="name"
。事实上,HTML 页面显示警告Attribute "ng-app" not allowed on element "html" at this point.
我使用http://plugins.netbeans.org/plugin/40296安装插件,下面是我在 index.html 中所做的:
<html ng-app>
<head>
<script src="js/angular-0.9.19.min.js"></script>
<script src="js/angular.js"></script>
</head>
<body>
<h1>Hello {{1+2}} </h1>