Added js code and html

Only one ng-app per page is auto-bootstrapped.