Screwing around with angular-ui and restangular