ūüĎč Hey there,I'm Dimitri

I like trying out new frameworks and writing about them. Below you can find the latest articles I wrote.


Changing your page title when a route changes with Angular 2

December 1st, 2016 | 4 min read | angular, routing

Last time, we implemented our pokémon detail view by using routing to switch between the overview and the detail. However, currently we still have the same title across our entire application. Usually when you have an application with multiple pages, you want to change the page title depending on the page the user visits.

Using routing with Angular 2

November 30th, 2016 | 10 min read | angular, angular-cli, routing

Last time, we pretty much finished our pok√©dex overview by implementing some pagination. Now that the pagination is behind us, we can focus on creating a more detailed view for our pok√©mons. If you remember when we wrote a service, we actually provided two functions, a findAll() and findOne() function. However, we didn’t use the […]

Writing your first component with Angular 2

November 23rd, 2016 | 12 min read | angular, components, materialize, pokeapi

In my last tutorial, we finished creating a service that has two functions for finding pok√©mons. First of all we have the findAll() function to return multiple pok√©mons (only basic info though) and secondly, we have the findOne() function which will return more detailed information about a single pok√©mon. Both of these are using the […]

Writing services with Angular 2 and RxJS

November 22nd, 2016 | 20 min read | angular, angular-cli, pokeapi, rxjs

In our last article, we’ve set up a project with Angular 2 using Angular CLI. Now that we have a project and we understand it, it’s time to start writing some code. In this series I will be creating a small Pok√©dex using the Pok√©api. The application will have two pages, a list of all […]

More fun with AngularJS $http: a loading indicator

November 24th, 2015 | 4 min read | angular, AngularJS

In my previous tutorial we used $http to create a utility that automatically converts all ISO 8601 date strings to proper JavaScript dates. $http allows us to do a lot of things. Ever wanted to create a “Loading, please wait…” indicator when your data is loading over your REST service? With $http you can easily […]

AngularJS $http and dates

November 16th, 2015 | 7 min read | angular, AngularJS, JavaScript

When you’re writing AngularJS applications, chances are that you’re going to have to consume a REST API. If you’re as lucky as me you’ll encounter a situation where you’ll have to read dates. However, while Date objects are a part of the standard JavaScript specs, it’s not a part of the JSON spec. So… how […]