dashboard
repositories
activity
search
login
common
/
securis
summary
reflog
commits
tree
compare
forks
blame
|
history
|
raw
|
HEAD
Merge branch 'angular2' of https://git.curisit.net/gitblit/git/common/secur...
rsanchez
2017-06-26
08e725754836fd4b98d7aabbb6488764a0f2469a
[common/securis.git]
/
securis
/
src
/
main
/
webapp
/
src
/
app
/
app.module2.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { NgModule, Injectable, Component } from '@angular/core';
import { HttpModule, Http } from '@angular/http';
import { BrowserModule } from '@angular/platform-browser';
@Component({
selector: 'app-home',
template: `<h2>Hola</h2>`
})
export class HomeComponent {
constructor(private http : Http) {
console.log('Http is injected ok: ' + http)
}
}
@NgModule({
imports: [
BrowserModule, HttpModule
],
declarations: [
HomeComponent
],
bootstrap: [ HomeComponent ],
entryComponents: [ ],
providers: [
]
})
export class AppModule2 { }
CAIXABANK, S.A.