Using angular v1.2.1