fixed a problem with upgrades/downgrades because of a broken angularjs binding