Port of Forge library to AngularJS module.