Ionic Development – Part 2: Integrating Google Maps
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...
View ArticleDynamic DataTables Headers Using AngularJS
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...
View ArticleGet Mobile!
If you have reached this blog post, I guess it is because either you are bored (there are better things to do when you are bored, by the way…), you are interested on how to develop mobile apps (ok,...
View ArticleWhy Do You Need Custom Filters in AngularJS?
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....
View ArticlePhonegap… Why and When
What is Phonegap? If you don’t already know, Phonegap is a cross platform framework that uses HTML5, JavaScript and CSS to build mobile applications. Phonegap is a distribution of Apache Cordova (for...
View ArticleThe Impact of Scopes in Angularjs
Scopes in AngularJS define where every variable is visible and where it’s not. Scopes are hierarchical, where every parent scope is visible in the child scope but not the other way around. $rootscope...
View ArticleWhy AngularJS? Why now?
Should we use AngularJS? Should we use it now? In light of the announcement by the AngularJS team to release AngularJS 2.0 as a total rewrite, it is a valid question to ask: Should we build new...
View ArticleCreating Instanceable Liferay Portlets with AngularJS
AngularJS is a great framework for Single Page Applications (SPAs) – it’s easy to learn and use. There’s no reason not to (and actually every reason to) create your Liferay portlets as AngularJS SPAs....
View ArticleAccessing InforCRM control values from Javascript
Often when one needs to access the value set in an HTML control from the client side script it is tempting to reach into the DOM object and retrieve it directly, using something like this for example:...
View ArticleAngularJS i18n example
Sometimes we need a mobile app to be internationalized when we use AngularJS. AngularJS supports i18n/l10n for date, number and currency filters. If we want to change something as simple as a literal,...
View ArticleIncluding custom javascript in InforCRM
When you need to include a custom javascript in the InforCRM web client, the quickest way is to simply add the <script> tag to the base.master file. However this complicates upgrades because the...
View Article