from Esslingen, Germany...

We are programmers from Esslingen and we are sharing our experience with:
June 6, 2016

Ionic2 & Angular2 Translate – Internationalize and Localize Your App

Setting up Ionic 2 with angular2-translate is pretty simple. But since there were a lot of changes in the recent time and most of the code examples provided in other blogs is already outdated i decided to describe the latest working approach. Currently i’m using angular2rc.1. Since Anuglar has reached RC status there should be no more breaking API changes and this approach stays valid. Ionic2 on the other hand is
Read more…


18 Comments

Can Kattwinkel

Entwickler bei thecodecampus

June 2, 2016

Ionic 2 set Focus of Input Element

Playing around with Ionic 2 i came to the following issue. I had a component where i’d like to automatically set the focus of an element after the view is loaded completely. The approach is similar to the AngularJS/Ionic1 one. We create a directive. But instead of using jQuery or jQuery Lite to set the focus the Angular 2 renderer is used. First of all create a new directive with
Read more…


9 Comments

Can Kattwinkel

Entwickler bei thecodecampus

May 25, 2016

How participants of our Angular 2 class styled the demo app

Our Angular 2 basic training adopt the successful structure of the AngularJS 1 course: Develop a fully functional demo application, step by step. Learn all the concepts by learning one and directly apply it. During developing the demo application, we neglect styling the app to fully concentrate on the core concepts of Angular 2: components, services, dependency injection, … and of course TypeScript. The Competition However, it is perfectly normal
Read more…


No Comments

Philipp Burgmer

Entwickler bei thecodecampus

April 25, 2016

Setup Ionic 2 with Electron (TypeScript, Angular2)

Recently i faced the challenge to create a cross platform application for desktop, mobile and browser. Since Angular 2 Material is not yet ready but a Angular 1 to Angular 2 migration would be a pain in the ass I decided to go with Ionic 2 as scaffold for all devices. And then, when Angular 2 Material is ready it should replace Ionic 2 on Desktop and in Browser. 1.) The
Read more…


19 Comments

Can Kattwinkel

Entwickler bei thecodecampus

Avoid Memory Leaks in AngularJS Unit Tests

Memory Leaks When it comes to unit testing in AngularJS there are many things that, developers like us can and will do wrong. The most crucial one is to create memory leaks in our unit tests, which mostly result either in a crash of the unit test runner (browser crash) or in creating a coherence/dependency between different tests that are meant to be separated. This article shows the basic mistakes that are
Read more…


No Comments

Kai Henzler

Entwickler bei thecodecampus

March 2, 2016

Angular 1.5 Multi Slot Transclusion

Angular 1.5 Multi Slot Transclusion Transclusion is one of the most useful features when it comes to writing reusable Angular directives. Even if you never heard of what it is, you might have used transclusion before without knowing it. The version 1.5 of AngularJS adds a long awaited feature: Multi Slot Transclusion, that allows us developer to build ever more flexible API’s for our directives. I’m not going through the whole
Read more…


No Comments

Kai Henzler

Entwickler bei thecodecampus

Setup NativeScript and Angular 2

NativeScript came up as a framework to write native mobile Apps for Android and iOS, and they even want to come up with Windows 10 support in March 2016. My colleague described first steps in NativScript in his article back in December. Today I want to show you, how to setup your NativeScript + TypeScript + Angular2 Project and in another blog post I show you some basic features. The main
Read more…


No Comments

Frederik von Berg

Entwickler bei thecodecampus

Building Cross-Platform Mobile Apps with Nativescript

You need an app for Android, iOs and Windows Phone, but don’t want to write the code in three different languages? And the app should look as native as possible? Then Nativescript could be a solution. Why? Because it does not only look like a native app, it is native! Why NativeScript? NativeScript is a framework by Telerik, which allows you to develop apps for Android 4.2 and iOS 7.1.
Read more…


No Comments

Simon Wolf

Entwickler bei thecodecampus

October 16, 2015

AngularJS SEO – google will index javascript sites

Google moves yet another step forward and indicates that single page application are getting more common. They just announced to drop the support of hashbang urls and crawl javascript sites without any pre-rendering (html snapshots) of the site – which is totally cool. But there are some limits regarding canonical tags as I discovered. In order to get your single page application indexed it is required to implement the following steps: use
Read more…


4 Comments

Can Kattwinkel

Entwickler bei thecodecampus

October 15, 2015

Structured End-To-End Tests With Protractor

The Angular team provides a tool set for creating end to end tests (e2e) called protractor http://www.protractortest.org based on WebDriver from Selenium. It’s extended by a deferred element finder and support for the ng-model notation, so it could be the ideal partner for testing AngularJS applications. But if wishes were horses, beggars would ride.


No Comments

Dragan Zuvic

Entwickler bei thecodecampus