modified code to show more examples of ngapp