Categories
Angular Opinions Tutorials

Narrow Type Angular Directive

Imagine we have directive that customizes the checkbox color and interaction. We want to make our checkbox checked base on certain condition. I know we can use accent-color to change the

Categories
Angular Firebase Java Script Tutorials

Getting Started with Firebase for Angular Ionic

Firebase is an app development platform covering everything from Database, Storage, Authentication to Hosting, Analytics. We don’t need to worry about the back-end of our application. One of the other exciting feature is real-time Database. A change in one client can immediately be seen in another. If so much of the organisation and architecture is […]

Categories
Tutorials

Use Recursive Types in Typescript

Interface is such a nice feature in Typescript for custom static type checking. Main reason is to make your code less error prone but I use it primarily for intellisense. Today we will be discussing recursive types. I need to modal the accordion in HTML using following object. { title: “Parent”, expanded: true, subItems: [ […]