simple angularjs 1.x webapp

Here's a very simple app using AngularJS 1.x.

Hints:

  • Ignore how the first couple of lines in app.js work, and just use as is.
  • Anything in index.html that starts with "ng-" is a "angular directive", fancy term for a placeholder. Angular repeatly scans the DOM for these, gulps them up and runs them. Sometimes it is just a div, sometimes the whole body. You decide how much of the DOM a directive needs to control. Try to keep it as small as possible.

Code: https://github.com/pcleddy/wordcounter
Live app: http://bit.ly/2iiEuoY (I hope)

Maybe try to play with app.js to see if you can add some functionality using m_words.

Comments

Popular posts from this blog

Openvpn and unbound combined break dig command

Stress Linux system: stress-ng

Google Nexus 4: permanent back panel glass repair for less than a penny