Is it feasible to have "typescript intellisense" in my razor views like I do in my ts-files?
Here is an excerpt from my app.ts file (where 'this.' prompts 'myExampleMessage' property):
/// <reference path="Scripts/typings/angularjs/angular.d.ts"/>
'use strict';
var app = angular.module('app', []);
class TestController {
constructor($scope: ng.IScope) {
this.myExampleMessage = "Hello";
}
myExampleMessage: string;
}
And here's a snippet from my default.cshtml file (where there is no intellisense for 'tController.'):
<!DOCTYPE html>
<html lang="en" ng-app="app">
<head>
<title>TypeScript HTML App</title>
<script src="Scripts/angular.js"></script>
<script src="app.js"></script>
</head>
<body ng-controller="TestController as tController">
<h1>TypeScript HTML App</h1>
<div id="content">{{tController.myExampleMessage}}</div>
</body>
</html>
I'm looking for Visual Studio (2013) to recognize 'tController' and display its defined properties, such as 'myExampleMessage'.
Am I missing something or is this not possible?