Working in the Restangular integration  #149

Please fix spacinf if () {