simple angularjs 1.x webapp

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


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

Live app: (I hope)

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


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