Upgrade to loopback-angular factory code