Posts

Showing posts with the label REST

Spring 3 Part 10: Java Web development with AngularJS

Angular Basics AngularJS is MVC based fronted framework. To make the things easier, I’ve use Atom editor with the the atom-html-preview plugin (Ctrl+Shift+H). Anytime you can invoke developer tools pressing by Alt+Command+i. Using MVC Here the most basic Angular+Bootstrap mvc example. In this example, there are three users listed in the ex1 and controller is FriendController which is used as friendList in the HTML. < html > < head > < script src = "https://code.jquery.com/jquery-1.12.0.min.js" > </ script > < script src = "https://code.jquery.com/jquery-migrate-1.2.1.min.js" > </ script > < link rel = "stylesheet" href = "bootstrap-3.3.6-dist/css/bootstrap.css" /> < script type = "text/javascript" src = "angular-1.5.3/angular.js" > </ script > < script type = "text/javascript" src = "bootstrap-3.3.6-dist/js/bootstrap.js...