Bug fix - move ng-app statement