After converting Echoes Player project to use ES2015, I was searching for a comfortable way to have separate environment configurations. In this post I present the solution that works for me best.
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.
In the previous article, I wrote about how to setup karma for testing AngularJS.x written with ES2015. Since then, I stumbled upon few issues while trying to test an AngularJS.x component written in ES2015 according to the angular ES2015 style guide. In this post, I’m sharing how to test AngularJS.x component written in ES2015.
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.