Upgraded to angularjs 1.2.20 (problems with latest 1.2.25).