はじめに AngularJS の学習を始める場合、書籍やネットを読むだけだとなかなか頭に入りません。なので、手元で動かしてみるのが良いかと思いますが、その際は AngularJS を動作させる環境を構築する必要があります。 単純にJavaScirptライブラリをダウンロードして利用したり、CDNから読み込んでもいいのですが、それだとパッケージ管理やコンパイル、ビルド、テストなど、昨今のフロントエンド周辺環境は別に用意する必要が出てきます。 ですので、最初は Yeoman という、フロントエンドの環境一式を構築してくれるツールを利用するのがお手軽かと思います。Yeoman の公式ジェネレータとして AngularJS プロジェクトの雛型も用意されているので、その雛型のソースコードを見てみるのも、イメージを掴む良い教材となるかと思います。 今回は、Macが前提ですが、最低限の環境を構築する手順