Moved ng-app registration off body tag  and onto a wrapping div

Fixes issue #365

Added divs w ng-app id immediately inside of body tag