diff --git a/package.json b/package.json
index 069d3db..88685dc 100644
--- a/package.json
+++ b/package.json
@@ -12,7 +12,8 @@
},
"keywords": [
"seed",
- "evolt"
+ "évolt",
+ "angular2"
],
"author": "Jordan Lorho",
"license": "MIT",
diff --git a/public/bootstrap.ts b/public/bootstrap.ts
index 9159912..c74606a 100644
--- a/public/bootstrap.ts
+++ b/public/bootstrap.ts
@@ -1,6 +1,7 @@
/**
* Created by lorho_j on 26/10/15.
*/
+
import { bootstrap } from 'angular2/angular2';
import { ROUTER_BINDINGS } from 'angular2/router';
import { Book } from './services/serviceBook/serviceBook';
diff --git a/public/components/app.ts b/public/components/app.ts
index 523744e..ddf034d 100644
--- a/public/components/app.ts
+++ b/public/components/app.ts
@@ -32,6 +32,6 @@ import {ListBooks} from './listBooks/listBooks';
export class App {
title: string;
constructor() {
- this.title = 'Angular2 App Seed';
+ this.title = 'App Seed Angular2';
}
}
\ No newline at end of file
diff --git a/public/components/home/home.ts b/public/components/home/home.ts
deleted file mode 100644
index 286d171..0000000
--- a/public/components/home/home.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import {Component, View} from 'angular2/angular2';
-
-@Component({
- selector: 'home'
-})
-
-@View({
- template: `
-
- {{welcome}}
-
- `
-})
-
-export class Home {
- welcome: string;
-
- constructor() {
- this.welcome = 'Welcome home bro !';
- }
-}
\ No newline at end of file
diff --git a/public/index.html b/public/index.html
index 9676af4..177ce31 100644
--- a/public/index.html
+++ b/public/index.html
@@ -2,14 +2,10 @@
- App Angular Seed 2
+ App Seed Angular 2
-
-
-
-
diff --git a/public/services/serviceBook/serviceBook.js b/public/services/serviceBook/serviceBook.js
deleted file mode 100644
index 9563e3e..0000000
--- a/public/services/serviceBook/serviceBook.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Created by lorho_j on 26/10/15.
- */
-var BookModel = (function () {
- function BookModel(name, author) {
- this.name = "";
- this.author = "";
- this.name = name;
- this.author = author;
- }
- return BookModel;
-})();
-exports.BookModel = BookModel;
-var Book = (function () {
- function Book() {
- this.books = [];
- this.books.push(new BookModel("Livre 1", "Auteur 1"));
- this.books.push(new BookModel("Livre 2", "Auteur 2"));
- this.books.push(new BookModel("Livre 3", "Auteur 3"));
- this.books.push(new BookModel("Livre 4", "Auteur 4"));
- this.books.push(new BookModel("Livre 5", "Auteur 5"));
- }
- return Book;
-})();
-exports.Book = Book;
-//# sourceMappingURL=serviceBook.js.map
\ No newline at end of file
diff --git a/public/services/serviceBook/serviceBook.js.map b/public/services/serviceBook/serviceBook.js.map
deleted file mode 100644
index 1832cdc..0000000
--- a/public/services/serviceBook/serviceBook.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"serviceBook.js","sourceRoot":"","sources":["serviceBook.ts"],"names":["BookModel","BookModel.constructor","Book","Book.constructor"],"mappings":"AAAA;;GAEG;AAEH;IAIIA,mBAAYA,IAAWA,EAAEA,MAAaA;QAHtCC,SAAIA,GAAUA,EAAEA,CAACA;QACjBA,WAAMA,GAAUA,EAAEA,CAACA;QAGfA,IAAIA,CAACA,IAAIA,GAAGA,IAAIA,CAACA;QACjBA,IAAIA,CAACA,MAAMA,GAAGA,MAAMA,CAACA;IACzBA,CAACA;IACLD,gBAACA;AAADA,CAACA,AARD,IAQC;AARY,iBAAS,YAQrB,CAAA;AAED;IAGIE;QAFAC,UAAKA,GAAeA,EAAEA,CAACA;QAGnBA,IAAIA,CAACA,KAAKA,CAACA,IAAIA,CAACA,IAAIA,SAASA,CAACA,SAASA,EAAEA,UAAUA,CAACA,CAACA,CAACA;QACtDA,IAAIA,CAACA,KAAKA,CAACA,IAAIA,CAACA,IAAIA,SAASA,CAACA,SAASA,EAAEA,UAAUA,CAACA,CAACA,CAACA;QACtDA,IAAIA,CAACA,KAAKA,CAACA,IAAIA,CAACA,IAAIA,SAASA,CAACA,SAASA,EAAEA,UAAUA,CAACA,CAACA,CAACA;QACtDA,IAAIA,CAACA,KAAKA,CAACA,IAAIA,CAACA,IAAIA,SAASA,CAACA,SAASA,EAAEA,UAAUA,CAACA,CAACA,CAACA;QACtDA,IAAIA,CAACA,KAAKA,CAACA,IAAIA,CAACA,IAAIA,SAASA,CAACA,SAASA,EAAEA,UAAUA,CAACA,CAACA,CAACA;IAC1DA,CAACA;IACLD,WAACA;AAADA,CAACA,AAVD,IAUC;AAVY,YAAI,OAUhB,CAAA"}
\ No newline at end of file
diff --git a/public/services/serviceBook/serviceBook.ts b/public/services/serviceBook/serviceBook.ts
index 78e5135..3442c81 100644
--- a/public/services/serviceBook/serviceBook.ts
+++ b/public/services/serviceBook/serviceBook.ts
@@ -16,10 +16,10 @@ export class Book {
books: BookModel[] = [];
constructor() {
- this.books.push(new BookModel('Livre 1', 'Auteur 1'));
- this.books.push(new BookModel('Livre 2', 'Auteur 2'));
- this.books.push(new BookModel('Livre 3', 'Auteur 3'));
- this.books.push(new BookModel('Livre 4', 'Auteur 4'));
- this.books.push(new BookModel('Livre 5', 'Auteur 5'));
+ this.books.push(new BookModel('Book 1', 'Author 1'));
+ this.books.push(new BookModel('Book 2', 'Author 2'));
+ this.books.push(new BookModel('Book 3', 'Author 3'));
+ this.books.push(new BookModel('Book 4', 'Author 4'));
+ this.books.push(new BookModel('Book 5', 'Author 5'));
}
}
\ No newline at end of file