18.05.2016 Views

Mittwoch, 18. Mai, 2016

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

How to get started on the MEAN stack 15<br />

In order to downlod AngularJS, you have to visit https://angularjs.org/⁴³ and upon clicking on the<br />

download button a following popup will appear:<br />

angular_download<br />

Since AngularJS is a frontend framework the installation is done simply by including the downloaded<br />

JavaScript file in your HTML (you can also use a CDN⁴⁴ link if you like) like this for example:<br />

1 <br />

But, there is a better way to manage your frontend dependencies - with the tool called Bower⁴⁵.<br />

Bower is a package manager which makes it easier to download and maintain your frontend libraries.<br />

Since Bower is a Node.js module you can install it by executing:<br />

1 $ npm install -g bower<br />

However, in order to use Bower, you will need to get Git⁴⁶ and download/install it on your machine<br />

(the installation is a simple Next, Next, Finished type of installation). If you’re unfamiliar with Git,<br />

⁴³https://angularjs.org/<br />

⁴⁴http://en.wikipedia.org/wiki/Content_delivery_network<br />

⁴⁵http://bower.io/<br />

⁴⁶http://git-scm.com/

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!