Update index.md

update angularjs solution