added loading gif, created ng-app='mongoApp', a little progress with cast problema and change all the XHR to  and adpt all .php's