Categories
Angular Opinions Tutorials

Understanding Angular Checkbox Directives and Host Binding

Imagine we have directive that customizes the checkbox color and interaction. We want to make our checkbox checked base on certain condition. But line 5, the highlighted one will throw following error. What really happens is that Angular thinks we are binding directive on some host elements (container etc) that doesn’t have checked property. Angular […]

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: [ […]