update model after rm
do not use min versions of angular
first try to use promises with resource