Angular
From charlesreid1
Installing: First Try
See Angular/FirstTry page.
Installing: Trying Again
This documentation is worthless. Install attempt number two: Angular/SecondTry
Installing: Third Try
Install node with nvm
Use nvm
git clone https://github.com/creationix/nvm.git ~/.nvm echo "source ~/.nvm/nvm.sh" >> .bashrc nvm ls-remote nvm install -s v0.11.16 nvm alias default 0.11.16
test:
node -v && npm -v
Install grunt and bower
Now install grunt and bower:
npm install -g grunt-cli npm install -g bower
but this time, when you need to use them, use the link command [1]:
npm link grunt-cli npm link bower
Get Angular
$ git clone https://github.com/angular/angular.js
Build Angular
Change dir and link to node modules:
cd angular.js/ npm link grunt-cli npm link bower
Now the last three commands:
npm install bower install grunt package
Using Angular with Python
Problem: most Python libraries are using Jinja or something similar, and those use double curly brackets {{ }}, conflicting with Angular.
Solution: use interpolateProvider variable to control start/end symbol https://docs.angularjs.org/api/ng/provider/$interpolateProvider