Observer

the logic 
```js
 var defer = $q.defer();
                $http.get("/something").success(function (some) {
                    defer.resolve(amount);
                });
                return defer.promise;
```
is repeated for every bankService function. It could be extracted in one place - function if it used only here  or module if it used in other places