This app is made using ionic-angular (simply angular wrapped within ionic framework) and meant to demonstrate :
- How to fiddle with angular reactive forms
- How to fiddle with regex to manipulate and process strings
- How to make call to external API using Angular Http Module
- How to create injectable service
- How to perform simple unit testing
- Input your own sentence or grab data from external API
- Get occurence of each word on given sentence
clone this repository and do npm install
git clone https://github.com/wienzzz/angular-test.git
cd angular-test
npm install
after that perform
ionic serve
or
ng serve
or simply visit this hosted link below Angular Test
Note that this app was made using ionic-angular framework
The term "word" could have various interpretation. For Sake of simplicity, I interpret word in a sentence this way :
- word is separated by space in a sentence
- trailing dot (.) and comma (,) are not considered as part of the word
Want to go further? Great! Just fork this repo or put an issue/request/enhancement and I will try to get back to you as soon as possible :)
Thanks to faaezahmd for responsive tabular display
This repo is for private demo