upgraded angular version from 1.0.8 to 1.2.10