One of the reasons I find MVC so appealing is the strong typing of both the Views and the Controllers. This allows me to access a variable directly from the Model in the View using Razor syntax:
<p>
@Model.MyProperty // strongly typed
</p>
With Visual Studio providing intellisense and smart refactoring options, the benefits are clear.
However, if I were to switch to AngularJs (or any other client-side UI framework), my view would change to this:
<p>
{{myProperty}} // just a string!
</p>
Lacking intellisense and refactoring options, I would be on my own as the IDE does not recognize {{myProperty}}
or know where it is defined. Essentially, there is no formal agreement between the View, Model, and Controllers beyond the developer's understanding of the application's structure and variable names.
Given that all my Angular models are linked to a Typescript interface, is there a tool available that can provide intellisense in the Views based on these Typescript interfaces?