AngularJS page validation -
i developing angularjs/web api application, there way can write page validations in c# code , can called angularjs service call? i.e. c# code converted json object angularjs service read json object enable/disable other controls? approach can keep validation logic in 1 centralised place.
i don't want write same validation logic in angular script.
please suggest. thanks
if understand correctly, want have server-side validation. , @ same time want validation happen asynchronously @ server. , end-user seem client-side validation.
whether using web api or spring java, possible. there framework can simplify it. download example , see how works: https://upida4net.codeplex.com
by way, can take @ working example here: http://upida.cloudapp.net:8080/org.upida.example.angular/
i promise, surprised amount of code there.
Comments
Post a Comment