ANGULAR JS

Angular JS 1.x http interceptors

Angular js 1.x provides the $http service to allow the client side to communicate with the backed using HTTP requests. For most complex usages it is often necessary to do some processing with the requests/responses before they reach our controllers. For example, one might be looking to implement a...

Read More

ANGULAR JS

AngularJS – ng-repeat and Radio Buttons

AngularJS – ng-repeat and Radio Buttons I recently had this problem where I had to select an item from a table. Nothing much, but I avoided buttons for this task and instead used a radio button against each row: where $scope.users = [{“userId”: 1, “firstName”: “a”,“lastName”:“b”}, {“userId”: 2, “firstName”:...

Read More

ANGULAR JS

Front-end Configuration of an existing AngularJS App in Liferay portlet

The primary tasks are – creation of view.jsp and configuration ofliferayportletaccordingly. • An example Angular application written in index.html Name : Hello {{name}}     • To convert this – create view.jsp as below <%@ tagliburi="http://java.sun.com/portlet_2_0" prefix="portlet"%> Name : Hello {{name}}   • Include js and cssfiles in WEB-INF/liferay-portlet.xml...

Read More

SOFTWARE DEVELOPMENT

Hello World!

Hi guys, if like me you’re a newbie to Angular JS and you’re trawling through the internet to find comprehensive materials to understand Angular and not just lose your mind sifting through the documentation so the beginning can make sense, I hope I’m able to help you save some...

Read More