angularjs (1)


Form post mixing AngularJs and Razor

The AngularJs validation is simple and straightforward to use, here’s a typical Razor form using the AngularJs MVVM model. The bit of javascript to init the $scope. We convert the model to json an assign it to a js variable in order to make it available to the $scope: The action on the controller stays […]