modified the code to practise more
added angular js includes