Some time ago Luis implemented a simple chat application using TypeScript language only. The main goal was to write a demo to explain how you can use this programming language on the client side and on the server. The client app is using latest Angular features. In this post, he will show us how he implemented the app from scratch.
Angular’s dependency injection mechanism allows us to cleanly separate business logic (services) from UI (components). What if our app generates a stream of values and we want to implement it as an injectable service? In this blog, we’ll create an injectable service that emits a stream of values and a UI component subscribes to this stream displaying its values real time.
We have seen many posts on how to build a chatbot for a wide variety of collaboration platforms such as Slack, Facebook Messenger, HipChat … So the author of this post decided to build a chatbot from scratch to production using Angular latest release v5.0.0, DialogFlow, and AWS.