Added quantity formulaty and updated AngularJS version to latest stable (1.3.2)