Working in the Restangular integration  #149

Please use:
```
}
else {
```