Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 08 2019 17:21

    fmalcher on master

    Ressourcen (compare)

  • Feb 08 2019 17:15

    fmalcher on master

    BookStoreService: Mapping und s… RxJS, Typeahead NgRx (compare)

  • Feb 08 2019 11:49

    fmalcher on master

    Fun with Observables RxJS Exercises 1-4 Book Rating: Error handling (compare)

  • Feb 07 2019 15:58

    fmalcher on master

    Pipes Routing, Links Lazy Loading (compare)

  • Feb 07 2019 13:48

    fmalcher on master

    Validierung Formular mit HTTP Form: ValueChanges (compare)

  • Feb 07 2019 10:57

    fmalcher on master

    BookStoreService getAllStatic HTTP Formular mit Validierung (compare)

  • Feb 06 2019 22:09

    fmalcher on master

    RxJS Playground NgRx Playground (compare)

  • Feb 06 2019 17:04

    fmalcher on master

    BookRatingService und isolierte… Kommunikation Book<>Dashboard Use ngOnInit() and 4 more (compare)

  • Feb 05 2019 19:33

    fmalcher on master

    Module Refactoring: BooksModule SharedModule Ressourcen (compare)

  • Feb 05 2019 14:47

    fmalcher on master

    Workshop-Styles und Dashboard Dashboard mit Büchern BookComponent, Sterne (compare)

  • Feb 05 2019 10:41

    fmalcher on master

    Hallo TypeScript: Klassen und M… TypeScript: Constructor Shortha… Hallo Webpack! (compare)

  • Feb 03 2019 14:13

    fmalcher on master

    ng new book-rating --routing --… (compare)

  • Jan 20 2019 15:12

    fmalcher on master

    README (compare)

  • Nov 23 2018 14:50

    JohannesHoppe on master

    Add Gitter badge Merge pull request #1 from gitt… (compare)

  • Nov 23 2018 14:50
    JohannesHoppe closed #1
  • Nov 23 2018 14:49
    gitter-badger opened #1
Johannes Hoppe
@JohannesHoppe
Herzlich Willkommen zum Workshop der Angular.Schule! 🅰️
Hier können wir Codeschnipsel, Links und andere Sachen teilen.
Ferdinand Malcher
@fmalcher
module.exports = {
  mode: "development",
  devtool: "inline-source-map",
  entry: "./main.ts",
  output: { filename: "bundle.js" },
  resolve: {
    extensions: [".ts", ".js"]
  },
  module: {
    rules: [
      { test: /\.ts$/, loader: "ts-loader" }
    ]
  }
};
Ferdinand Malcher
@fmalcher
package.json
{
  "name": "typescript-playground",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "ts-loader": "^5.3.3",
    "typescript": "^3.3.1",
    "webpack": "^4.29.1",
    "webpack-cli": "^3.2.3"
  }
}
Ferdinand Malcher
@fmalcher
npm i @angular-schule/workshop-styles
Ferdinand Malcher
@fmalcher
@import '~@angular-schule/workshop-styles/index';
Ferdinand Malcher
@fmalcher
search(term: string): Observable<Book[]> {
    return this.http.get<any[]>(`${this.apiUrl}/books/search/${term}`).pipe(
      map(rawBooks => rawBooks ? rawBooks : []),
      map(rawBooks => rawBooks.map(
        rawBook => this.mapToBook(rawBook))
      )
    );
}