Install node
brew install node
on a Mac.
Clone angular-seed from here
git clone --depth=1 https://github.com/angular/angular-seed.git <your-project-name>
.
There you can also find startup commands such as npm install
, npm start
etc.
Notes:
- Each
View
groups together an html template, a js controller and a js test.
[Discarded for now] Install UI-Bootstrap npm install angular-ui-bootstrap
-
Include bootstrap.css in index.html header
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css">
-
Install Bower
npm install -g bower
. -g stands forglobal
-
Install Bootstrap
bower install bootstrap
-
Include Bootstap + jQuery in index.html file
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>