hotfixing issues #141 & 142
Merge pull request #143 from angular-ui/rearch

hotfixing issues #141 & 142