yeah and thats why i said it freeze the app(so i didn't use it), so we will
look for better work-around than what i have now. cool thanks.


On Fri, Mar 14, 2014 at 10:30 AM, Justin <notifications@github.com> wrote:

> In app/scripts/controllers/inventory.js:
>
> >          bundle_no: $stateParams.bundleNo
> >        }
> >
> > -      var id = 0;
> > +      //TODO: find better way to hold complete object of form data and selections. e.g session or utility service
> > +      // so that at preview page you can access objects properties.
> > +      $scope.getProductTypeByUUID = function(productTypeUUID){
> > +        var deferred = $q.defer();
> > +        var productType = {};
> > +        productTypeFactory.get(productTypeUUID).then(function(result){
>
> In fact in general is there any good reason to have these get.... methods
> on the scope at all? They're there on the service.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/eHealthAfrica/LMIS-Chrome/pull/105/files#r10600730>
> .
>