Add grunt uglify task and fix angular dependencies.