Published in Geek Culture·May 9Project structure in Angular applicationFile structure — Usual structure We all know the basic file structure. Take all our services and put them in the services folder then take all models and put them in the model folder etc.Angular2 min read
May 1Selection list pageEvery application has a selection page. On this page, the user can select something. Today we will make our selection page. We are also gonna make this page mobile-friendly. Let’s make a layout of our selection page. We have the main page when a user clicks on the button, the…Angular3 min read
Published in Geek Culture·Apr 16Send data from one application to another in Angular.Aplication data transfer. — Big companies probably have at least a couple applications. Sometimes you may need to send some data from one application to another. How can we do that? We can add data as query parameters or if applications have the same domain address we can use cookies. Query parameters Let’s create…Angular3 min read
Published in Nerd For Tech·Apr 4Error handling in Observable, Promise and Async/await.HTTP request in JavaScript — Every project has to make an HTTP request and of course, some of those requests could have errors. We need to know how to handle those errors. Because we are talking about HTTP requests I need to mention Observable. The standard approach is to make a callback function for errors.Angular2 min read
Published in Geek Culture·Mar 26Simple Toast Notification in AngularIn this article, we will make our own toast notification using Angular. Model Our model contains information about the title, message, position, notification type.Angular3 min read
Published in Nerd For Tech·Mar 6Import and export data in CSV in Angular.In this article, we will create an algorithm for importing and exporting data in CSV. We have two model arrays with those models we will import in a CSV file.Angular3 min read
Published in Nerd For Tech·Feb 26Simple test data generator in AngularEvery application must be tested. For that, we need to have data. After that, we can find some bugs and make a good application. In this article, we will create a service that will generate test data. The first step is to define a model that we’re gonna generate.Angular3 min read
Published in Geek Culture·Feb 7Angular dependency injectionWe all know the standard approach on how to use services in Angular. Create a service mark as injectable and put it in the provider section of the module.Angular2 min read
Published in Geek Culture·Jan 30Convert UTC to local time in AngularAngular pipe — Working with dates could be tricky. If you show date to the user that is located in the same time zone you do not have a problem at all. But if the time zone is different you will show a date that the user will not understand. Instead of…Angular2 min read
Published in Nerd For Tech·Jan 20How to create a colorful theme if you are not a designer?Developer tips If you are a developer you probably do not know how to pick up the right colors that fit each other. All we need is to choose the main color. I will pick random colors by using this website. Randomiser give us two colors #474CB4 and #30B3F2. Now…Angular2 min read