JAVA Rest API and angular JS

Well, here is my 5 cents, Angular js is UI Framework and it should be mounted in HttpServer (node js?) Where as Java is backend and you need to expose it as Webservice and host in web server. I think you are using REST to consume your service in UI.

How Can i Change the style of my angularjs object?

Here’s a plunker(just JS) :http://plnkr.co/edit/h3EndN8F6milHF2h1gAj?p=preview var array = [ { 9 : “Alfreds Futterkiste”, 10 : “Berlin”, Room : “201” }, { 9 : “Vaffeljernet”, 10: “Ã…rhus”, Room : “204” } ]; var result = {}; array.forEach(function(obj) { //function runs once for each element in the array, obj = element at current index result[obj.Room] = … Read more

capitalize the first letter and the letter followed by a dot(.) using angular js

string=”hi you. im dr.test. nice to see you. by the way… what was your name?”; string=string.split(“”); up=true; for(key in string){ console.log(string[key],up); if(string[key]===”.”){ up=true; }else{ if(up&&(string[key]!==” “)){ string[key]=string[key].toUpperCase(); up=false; }}} string=string.join(“”); console.log(‘result:’,string); My original answer (slow): string=”hi you. im dr.test. nice to see you”; words=string.split(” “); var dots=[0]; for(key in words){//loop trough words var word=words[key]; var … Read more