differents tries using angularJs