I have a project using Angular JS for the frontend and .NET MVC for the backend. There is a directive file, written in JavaScript, that does calculations for the frontend. I need to add an endpoint to our C# API controller that uses these directive functions and returns the value. Creating the endpoint is easy but I can't get the C# code to talk to the JavaScript directive. How do I accomplish this? Continue reading...