by Abdul Alshberi | Mar 3, 2015 | Blog, Enterprise Java
Why Custom Filters? Filters in AngularJS are mainly used for display purposes – to show a text in a specific way or to filter an array based on a certain pattern. We’ll see examples for both cases. Single value display filter Let’s assume that I need to display...
by XTIVIA | Jan 21, 2015 | Blog, Portals
We had a requirement in an AngularJS portlet to make jQuery DataTable columns dynamic. Normally, DataTable fetches a JSON object that contains the headers and uses that object to instantiate the DataTable. Doing it the Angular way is a bit different. The...
by XTIVIA | Jan 12, 2015 | Blog, Enterprise Infrastructure, Portals
Before we dive immediately to the code, I just want to point a subtle difference in the example code that Ionic has here. I am using ng-init to call the initialize method rather than having it in the controller. I also declared the initialize function in the scope....