adding first working query fully on angular
second part of commit with first angular query
modifying the way propelsoa gets the app object