upgraded to angularjs 1.3beta 17