The Spotyngular Project: Part 1 – Setting up the environment
This is the second post of “The Spotyngular Project” series of posts. Throughout this series, we are cloning spotify with AngularJS 2 to expose this framework’s benefits and tricks.
One of the first question that comes up when we start with a new framework or tool is how to install it. I will iterate over the 4 most used ways to start using AngularJS, then continue with requirements and some other key topics.
The four paths to AngularJS 2
First way – Simple Download
The first way to start coding with AngularJS 2 is to simply download the files and include them in your project. You can find all the versions of AngularJS in Code Angular. You should select the version of angular you want to use and download the required files.
When you navigate to an specific version of AngularJS 2.x you will see several files, there are some external modules like the router and the angular library. For the angular library you’ll have files with extensions [*.dev.js | *.js | *.min.js | *.sfx.dev.js].
The *dev.js file is basically equal to the *.js file but with added information for debugging purposes. It is specifically targeted to the development phase, therefore targeted to developers working with ES5