Angular with TypeScript
Angular for Java Developers, Part 2
Matt Greencroft
  • Course duration: 3h 13m
Becoming a fullstack developer is one of the best ways you can progress your career. Angular for Java Developers Part Two: Typescript expands your Java programming skills by introducing you to the TypeScript language—a popular type-centric variation of JavaScript, central to Angular development. It builds on what you covered in the first course Angular for Java Developers Part One, and relates all its examples to the Java programming language you’re familiar with. This approach makes it easy to expand your skills and learn TypeScript. In the second of a running series of five courses, you’ll learn the basics of the Typescript programming language, how to debug Angular applications, and how to write and run unit tests.

Distributed by Manning Publications

This course was created independently by Angular expert Matt Greencroft and is distributed by Manning through our exclusive liveVideo platform.

About the subject

The Angular framework is used by millions of developers, powering frontends from simple prototypes to Google’s own web apps. Prized for its scalability, Angular also offers lightning fast speed and response times and the chance to reuse code for both web and mobile. Best of all, it can be integrated with backends built in Java. The Angular framework was written in TypeScript, and using TypeScript for Angular applications makes them easier to read and less prone to type mismatch errors.

About the video

Angular for Java Developers is a five-part course that teaches Java programmers how to use Angular and JavaScript to build applications that are maintainable, testable, and secure. In this Part Two, you’ll get to grips with TypeScript, the primary language for writing Angular apps. You’ll learn about classes and objects, how to use TypeScript for dependency injection, and how to write unit tests to ensure your apps are bug free!
Table of Contents detailed table of contents

Introduction to Typescript

Course introduction

Similarities to Java and the impact of TSLint

Data types and variables

Declaring variables

Working with Arrays

Loops and conditions

Classes and objects

Understanding Javascript objects

Creating classes

Class attributes

Constructors and methods

String templates

Some hints for debugging classes

Object equality


Creating an enum

Looping through an enum

Enums with values

Retrieving a label from its value

Services and Dependency Injection

What is a service

Creating a service

Dependency injection

Exercise 1 - dependency injection

Exercise 1 - solution walkthrough

The observer design pattern

The need for the observer design pattern

Introducing the pattern and creating an observable

Triggering an event, and creating an observer

Dealing with errors and the complete event

Unsubscribing an observer

Exercise 2 - observer design pattern

Exercise 2 - solution walkthrough

Debugging in Angular

Introduction to Debugging

Debugging with Visual Studio Code

Debugging with IntelliJ

Unit testing

Creating a Unit Test

Running a single test

Test evaluation methods

Fixing the app component tests

Testing behaviour

Testing components with service dependencies

Mocking services


For viewers with basic Java experience.

What you will learn

  • Part 2 of 5 videos covering Angular frontends for Java applications
  • Similarities and differences between Java and TypeScript
  • Dependency injection
  • Debugging Angular applications
  • Writing unit tests for Angular applications

About the instructor

Matt Greencroft has over twenty years of experience as a programmer, primarily working in the banking sector. Matt now teaches for Virtual Pair Programmers. His specialties are Microservices, Spring Boot, Apache Spark and Kotlin.

placing your order...

Don't refresh or navigate away from the page.
liveVideo $22.50 $45.00
Angular with TypeScript (liveVideo) added to cart
continue shopping
go to cart

Prices displayed in rupees will be charged in USD when you check out.