6/27/15

ANGULARJS Print Bootstrap Modal Content

When trying to print a modal dialog, we may not need to see the main layout content mixed with the modal content on the print out.  This is however the default behavior when we try to print a web page. In order to print the modal dialog content, we need to hide the main layout and only make...

6/13/15

ANGULARJS Calculate Totals Using Directives

In this article, we show how to do a calculation of subtotals and totals using AngularJS. To illustrate how we can do the aggregates, we build a simple invoice in which we will add the total quantity of items and subtotals per item and final amount.  We first start by showing the JSON model that represents a list of items with quantity and cost per unit. These are the amounts that we...