Updated sample with AngularUI and third view