In the recent article, I wrote about the migration process of a component that is based on AngularJS.x and ES2015. Since then, I continued migrating Echoes Player to Angular (+2). In this post i’m sharing the migration process of the youtube-list component – which uses the youtube-media component, as well as implementing a smart component with […]
Following Echoes Player article series about angular & ES2015, I decided to develop this project with angular2. I intend to write a series of articles about my experiments with angular2. In this post, i’m sharing first insights about starting with angular2 and converting the youtube-media component written with angular1 and ES2015 to angular2 and typescript.
Converting AngularJS.x code to use ES2015 is one thing. It’s an iterative process that should be taken with great care. However, aside from converting the code, you should also convert the tests to the setup environment. In this article I share the setup I use for running Echoes Player tests with karma & browserify.
Recently, I started refactoring Echoes Player, my open source project, from angular ES5 to AngularJS with ES2015 (former ES6). I’m following several concepts and i’de like to share the process of converting an AngularJS directive written with es5 to an AngularJS component using ES2015.