displaying selected object. upgrading to angular 1.2.7