I have an angularjs MVC application which posts a form to a different domain and a call back comes to MVC controller function as plain http post. When the call back comes back and the view is loaded, it does not run the angularjs controller tied to the view. How can we load the angularjs and use the data in the controller? Thank you!
[System.Web.Http.HttpPost]
public ActionResult Callback()
{
return View("CallbackView");
}
CallbackView.cshtml
<div ng-controller="CallbackCtrl">
</div>
<script>
//How to load angularjs?
//How to read the http post data and use it in the CallbackCtrl?
</script>