dependent on angular v1.2 +