Merge pull request #3 from AltitudeHK/backend

Backend
Merge pull request #4 from AltitudeHK/develop

added fs.writeFile to requestHandler.upload
Merge pull request #5 from AltitudeHK/backend

replaced fs.writeFile(photo) into the upload request callback, so it has...
Merge pull request #29 from AltitudeHK/localAuth

Local auth
refactored into mongoose
Add gallerystorageservice and incorporate into navigationCtrl.js
Remove main.html, mainCtrl.js
Convert gallerystorageservice and photoService to factory
Refactor navigationCtrl - added sendNavigationInfo function
Refactor uploadCtrl and photoService to add width and height of photo. Consolidate photoInfo to include file information.
Merge pull request #30 from AltitudeHK/nav

Refactor uploadCtrl and photoService to add width and height of photo
Revert back to sending both photoInfo and file as separate objects in photoService and uploadCtrl
Merge pull request #31 from AltitudeHK/resize

Revert back to sending both photoInfo and file as separate objects in photoService and uploadCtrl
Move width and height info to photoInfo object instead of file object
Merge pull request #32 from AltitudeHK/resize

Move width and height info to photoInfo object instead of file object
defined callback function for auth/facebook/callback
sends height/width of the image back to the cliend on successful upload
Merge pull request #33 from AltitudeHK/imgResize

sends height/width of the image back to the client on successful upload
Fix singlePhoto controller to make call to server for photo
Merge pull request #34 from AltitudeHK/resize

Fix singlePhoto controller to make call to server for photo