fork of pmdr written in angularjs