UNPKG
@bi8/am-uaa
Version:
latest (8.0.4)
8.0.4
8.0.3
8.0.2
8.0.1
8.0.0
6.1.2
6.1.1
6.1.0
6.0.1
6.0.0
5.2.1
5.0.8
5.0.7
5.0.6
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
1.0.0
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
ng update @angular/cli yarn add @angular/cli
github.com/bi8solutions/am-uaa
bi8solutions/am-uaa
@bi8/am-uaa
/
src
/
app
/
home
/
http.service.ts
15 lines
(11 loc)
•
314 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
{
HttpClient
}
from
'@angular/common/http'
;
import
{
Injectable
}
from
'@angular/core'
;
import
{
Observable
}
from
'rxjs/Observable'
;
@Injectable
()
export
class
HttpService
{
constructor
(
private
hc
:
HttpClient
) { }
getCall
(
api
:
string
):
Observable
<
any
> {
return
this
.
hc
.
get
(api); } }