Angular: Difference between revisions
From charlesreid1
| Line 25: | Line 25: | ||
</pre> | </pre> | ||
Now install grunt and bower | Now install grunt and bower: | ||
<pre> | <pre> | ||
npm install -g grunt-cli | npm install -g grunt-cli | ||
npm | npm install -g bower | ||
</pre> | </pre> | ||
but this time, when you need to use them, use the link command [https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server]: | |||
<pre> | <pre> | ||
npm | npm link grunt-cli | ||
npm link bower | npm link bower | ||
</pre> | </pre> | ||
Revision as of 03:34, 30 March 2015
Installing: First Try
See Angular/FirstTry page.
Installing: Trying Again
This documentation is worthless. Install attempt number two: Angular/SecondTry
Installing: Third Try
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
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
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