add ng-app and moved stuff around