We were using ASP.NET Razor, and we heavily used Razor to generate HTML, include partial views in layouts, and stuff like that.
However, now that Angular is out and robust, we want to use it as much as we can.
A fellow colleague suggested that theoretically it should be possible to completely replace Razor with Angular JS, and we researched it, and it seems viable.
For example, we can replace Html.Partial
with ngInclude
, we can replace RenderBody()
with <ng-view>
, we can replace loops with ng-repeat
, etc.
Is there any pitfall for putting Razor aside and working only with Angular? Did we miss something?