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

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -