Here's a very simple app using AngularJS 1.x.
Hints:
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.
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.
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…
ReplyDeleteAWS Online Training Hyderabad