Angular: Difference between revisions
From charlesreid1
| Line 23: | Line 23: | ||
<pre> | <pre> | ||
node -v && npm -v | node -v && npm -v | ||
</pre> | |||
Now install grunt and bower, this time using the link command [https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server]: | |||
<pre> | |||
npm install -g grunt-cli | |||
npm link grunt-cli | |||
</pre> | |||
<pre> | |||
npm install -g bower | |||
npm link bower | |||
</pre> | </pre> | ||
Revision as of 03:33, 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, this time using the link command [1]:
npm install -g grunt-cli npm link grunt-cli
npm install -g bower 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