When deploying apps is helpful to know exactly what version your looking at. Where it might be the one on your server that you deployed months ago or the version you have checked out on your development machine.

With java / maven applications you can configure the maven jar plugin to append this information to the  jar META-INF.
I havent found anything like this yet for javascript / angular.js but its easy to craft a script to append it like this.

#!/bin/bash

APP_NAME="analyseApp"
SHA=`git rev-parse HEAD`
DATE=`date`
VERSION_INFO="$APP_NAME.version={GIT_SHA:'$SHA',BUILD_DATE:'$DATE'};"
echo $VERSION_INFO >> app/scripts/analyse.js

Now its easy to check what the version is just look in the js file. This can even be accessed programatically from the application.