Skip to content

Instantly share code, notes, and snippets.

@albertogiunta
Last active April 20, 2016 14:08
Show Gist options
  • Save albertogiunta/4f8f2ea037e36b1164c197dca18efc32 to your computer and use it in GitHub Desktop.
Save albertogiunta/4f8f2ea037e36b1164c197dca18efc32 to your computer and use it in GitHub Desktop.

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 for global

  • 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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment