Angular2 Quickie - ViewEncapsulation.Native in all browsers

A few days ago I wrote about Angular 2 ViewEncapsulation over here. The sample I’ve created for that post only works if you’re using Google Chrome. In this article I’ll explain why the sample only works in Google Chrome and how you can take the example one step further to...

February 03, 2016
message
Testing Angular2 Apps with Jasmine and TypeScript

Unittesting Angular 2 applications made me crazy during Beta time. In this post I’ll share how to setup Unittesting for Angular 2 applications. The samples below were tested on Angular 2 Beta 2 and Beta 3. There are many resources available on the web that explain how unit-testing should work...

February 01, 2016
message
Ghost as blogging platform

During the past weeks I’ve been discussing with some community members about having a Ghost blog. That’s why I decided to share my experience using Ghost over a decade now. In October 2014 I moved my blog from WordPress to Ghost because of two main reasons. First and most important...

February 01, 2016
message
Setting electron app icons for Windows from MacOS

When building cross platform apps using GitHub’s electron (website), you may run into the same issue I did a few days ago. When you want to automatically build the app Windows and MacOS directly from an MacOS system using the gulp-atom-electron module. Setting the Windows App Icon didn’t work for...

January 16, 2016
message
Angular2 Quicky - Component ViewEncapsulation and WebComponents

Component is perhaps the most overloaded word when it comes to JavaScript frameworks in these days. Every single framework has it’s own definition of what exactly a component is, also Angular 2. Components are the building blocks of Angular 2 apps. By default Angular embeds components into the DOM. When...

January 08, 2016
message
Angular2 Quicky - How to structure your projects

When building large Angular2 Apps, you’ve to care about how to structure your project. John Papa will of course provide a new style guide in the near future :) (no pressure here, we’ve our own for ng and ng2). But already in those early days you’ve to care about the...

January 07, 2016
message
Angular2 Quicky - Elvis is in tha house

Another Angular2 Quicky for today ;) Angular2 introduces the Elvis operator ?. which can be used within templates. CoffeeScript Developers (Note: I ) may know this as “Existential Operator” which can easily be used to check if a variable has a value. In combination with *ngFor and *ngIf this makes...

January 07, 2016
message
Angular2 Quickie - Local template variables

Local template variables in angular2 can be used to easily reference HTML elements and use their properties either on sibling or child nodes. It’s pretty easy to create and use those local template variables. Let’s say you’ve an input file for dealing the first name of someone. <input type="text" placeholder="your...

January 07, 2016
message
Building an electron app using Angular2 Beta0 in TypeScript

A couple of weeks ago I created a sample repository for demonstrating the usage of ng2 in electron apps when writing ES2015. Today I’ve investigated some time in building a electron showcase app which explains how to create desktop apps using angular2 (currently beta0) when relying on TypeScript. Some friends...

January 07, 2016
message
Angular2 goes CrossPlatform using electron

A while ago I’ve posted a sample on how to write an electron app using Angular 1.x with ES2015 and JSPM. Now having more than 80 stars on github, it seems to be quiet important for the community. That’s why I’ve decided to take this sample to another level. Angular2...

November 16, 2015
message