Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual Studio 2013 AngularJS IntelliSense_Angularjs_Visual Studio_Visual Studio 2013 - Fatal编程技术网

Visual Studio 2013 AngularJS IntelliSense

Visual Studio 2013 AngularJS IntelliSense,angularjs,visual-studio,visual-studio-2013,Angularjs,Visual Studio,Visual Studio 2013,我正在尝试使用Microsoft Visual Studio 2013 Ultimamte Edition开发一个新的AngularJS项目。问题是我不能使用智能感知。我在网上和网上读了很多不同的东西。首先 在那之后,我阅读并尝试了这里的一切 我没有收到任何错误或警告。基本上,我不能在我的项目中使用Intellisense,我认为我在项目中正确引用了它 Index.html <!DOCTYPE html> <html xmlns="http://www.w3.org/199

我正在尝试使用Microsoft Visual Studio 2013 Ultimamte Edition开发一个新的AngularJS项目。问题是我不能使用智能感知。我在网上和网上读了很多不同的东西。首先

在那之后,我阅读并尝试了这里的一切

我没有收到任何错误或警告。基本上,我不能在我的项目中使用Intellisense,我认为我在项目中正确引用了它

Index.html

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Sample AngularJS project using Visual Studio</title>
    <script src="../Scripts/angular.js"></script>
    <script src="../Scripts/angular-route.js"></script>
    <script src="app.js"></script>
</head>
<body ng-app ="myApp">

</body>
</html>

使用VisualStudio的AngularJS项目示例
app.js

var app = angular.module('myApp', ['ngRoute']);

app.controller("listController", ["$scope", "projects", function ($scope, projects) {
    $scope.<<Here I don't get Intellisense completion>>
var-app=angular.module('myApp',['ngRoute']);
app.controller(“listController”、[“$scope”、“projects”、function($scope、projects){
$scope。